Fixes commented block introduced in ecc7d2913e.

Noticed By: Stan
This was SVN commit r23463.
This commit is contained in:
Vladislav Belov 2020-01-29 23:44:14 +00:00
parent ecc7d2913e
commit b42ebe99f5

View File

@ -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));
}
///////////////////////////////////////////////////////////////////////////////////////////////////