Fixes commented block introduced in ecc7d2913e
.
Noticed By: Stan This was SVN commit r23463.
This commit is contained in:
parent
ecc7d2913e
commit
b42ebe99f5
@ -1463,8 +1463,8 @@ void CRenderer::OnSwapBuffers()
|
||||
PROFILE3("error check");
|
||||
// We have to check GL errors after SwapBuffer to avoid possible
|
||||
// synchronizations during rendering.
|
||||
//if (GLenum err = glGetError())
|
||||
// ONCE(LOGERROR("GL error %s (0x%04x) occurred", ogl_GetErrorName(err), err));
|
||||
if (GLenum err = glGetError())
|
||||
ONCE(LOGERROR("GL error %s (0x%04x) occurred", ogl_GetErrorName(err), err));
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user