mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
use only one set of logging macros instead of two and don't use free() as a function name
This commit is contained in:
parent
afad6daa7d
commit
95f1a0e645
74 changed files with 800 additions and 793 deletions
|
|
@ -54,13 +54,13 @@ void GLProgram::Create(const u32 vp, const u32 fp)
|
|||
char* buf = new char[bufLength+1];
|
||||
memset(buf, 0, bufLength+1);
|
||||
glGetProgramInfoLog(id, bufLength, NULL, buf);
|
||||
LOGF_ERROR(RSX, "Could not link program: %s", buf);
|
||||
LOG_ERROR(RSX, "Could not link program: %s", buf);
|
||||
delete[] buf;
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
//else LOGF_NOTICE(HLE, "program linked!");
|
||||
//else LOG_NOTICE(HLE, "program linked!");
|
||||
|
||||
glGetProgramiv(id, GL_VALIDATE_STATUS, &linkStatus);
|
||||
if(linkStatus != GL_TRUE)
|
||||
|
|
@ -73,7 +73,7 @@ void GLProgram::Create(const u32 vp, const u32 fp)
|
|||
char* buf = new char[bufLength];
|
||||
memset(buf, 0, bufLength);
|
||||
glGetProgramInfoLog(id, bufLength, NULL, buf);
|
||||
LOGF_ERROR(RSX, "Could not link program: %s", buf);
|
||||
LOG_ERROR(RSX, "Could not link program: %s", buf);
|
||||
delete[] buf;
|
||||
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue