mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
Minor fixes
This commit is contained in:
parent
b85a86b225
commit
b1df7444a4
5 changed files with 103 additions and 73 deletions
|
|
@ -53,6 +53,8 @@ void GLProgram::Create(const u32 vp, const u32 fp)
|
|||
glGetProgramInfoLog(id, bufLength, NULL, buf);
|
||||
ConLog.Error("Could not link program: %s", wxString(buf).wx_str());
|
||||
delete[] buf;
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
//else ConLog.Write("program linked!");
|
||||
|
|
@ -70,8 +72,13 @@ void GLProgram::Create(const u32 vp, const u32 fp)
|
|||
glGetProgramInfoLog(id, bufLength, NULL, buf);
|
||||
ConLog.Error("Could not link program: %s", wxString(buf).wx_str());
|
||||
delete[] buf;
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
glDetachShader(id, vp);
|
||||
glDetachShader(id, fp);
|
||||
}
|
||||
|
||||
void GLProgram::UnUse()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue