mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
Fix conflicts.
This commit is contained in:
parent
c09b0f511e
commit
9816ec3aa0
35 changed files with 99 additions and 103 deletions
|
|
@ -51,8 +51,7 @@ void GLProgram::Create(const u32 vp, const u32 fp)
|
|||
|
||||
if (bufLength)
|
||||
{
|
||||
char* buf = new char[bufLength+1];
|
||||
memset(buf, 0, bufLength+1);
|
||||
char* buf = new char[bufLength+1]();
|
||||
glGetProgramInfoLog(id, bufLength, NULL, buf);
|
||||
LOG_ERROR(RSX, "Could not link program: %s", buf);
|
||||
delete[] buf;
|
||||
|
|
@ -70,8 +69,7 @@ void GLProgram::Create(const u32 vp, const u32 fp)
|
|||
|
||||
if (bufLength)
|
||||
{
|
||||
char* buf = new char[bufLength];
|
||||
memset(buf, 0, bufLength);
|
||||
char* buf = new char[bufLength]();
|
||||
glGetProgramInfoLog(id, bufLength, NULL, buf);
|
||||
LOG_ERROR(RSX, "Could not link program: %s", buf);
|
||||
delete[] buf;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue