1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-23 03:02:53 +01:00

GL: Remove unused calls to glGetError()

This commit is contained in:
Vincent Lejeune 2015-05-22 19:43:32 +02:00
parent d5bdf78a29
commit 7a5c8dd586
2 changed files with 0 additions and 6 deletions

View File

@ -38,11 +38,8 @@ void GLProgram::Create(const u32 vp, const u32 fp)
Delete();
id = glCreateProgram();
GLuint res = glGetError();
glAttachShader(id, vp);
res = glGetError();
glAttachShader(id, fp);
res = glGetError();
glLinkProgram(id);

View File

@ -16,7 +16,6 @@ struct GLTraits
{
fragmentProgramData.Decompile(*RSXFP);
fragmentProgramData.Compile();
GLuint res = glGetError();
//checkForGlError("m_fragment_prog.Compile");
// TODO: This shouldn't use current dir
@ -28,7 +27,6 @@ struct GLTraits
{
vertexProgramData.Decompile(*RSXVP);
vertexProgramData.Compile();
GLuint res = glGetError();
//checkForGlError("m_vertex_prog.Compile");
// TODO: This shouldn't use current dir
@ -40,7 +38,6 @@ struct GLTraits
{
GLProgram *result = new GLProgram();
result->Create(vertexProgramData.id, fragmentProgramData.id);
GLuint res = glGetError();
//checkForGlError("m_program.Create");
result->Use();