mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
log fixes (to wx_str())
This commit is contained in:
parent
a6faf04db4
commit
5a240c32a9
41 changed files with 215 additions and 183 deletions
|
|
@ -51,7 +51,7 @@ 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);
|
||||
ConLog.Error("Could not link program: %s", buf);
|
||||
ConLog.Error("Could not link program: %s", wxString(buf).wx_str());
|
||||
delete[] buf;
|
||||
}
|
||||
}
|
||||
|
|
@ -68,7 +68,7 @@ void GLProgram::Create(const u32 vp, const u32 fp)
|
|||
char* buf = new char[bufLength];
|
||||
memset(buf, 0, bufLength);
|
||||
glGetProgramInfoLog(id, bufLength, NULL, buf);
|
||||
ConLog.Error("Could not link program: %s", buf);
|
||||
ConLog.Error("Could not link program: %s", wxString(buf).wx_str());
|
||||
delete[] buf;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue