Use GLUT for detecting errors.
Rather than polling for errors, let GLUT do it. Can be enabled with the "-gldebug" CLI flag.
This commit is contained in:
@@ -481,8 +481,6 @@ void RenderingState::idleFunc()
|
||||
if (options.mouse_2_pressed) {
|
||||
move('s', false);
|
||||
}
|
||||
|
||||
checkGLErrors();
|
||||
throttleIdleFunc();
|
||||
}
|
||||
glutPostRedisplay();
|
||||
|
||||
Reference in New Issue
Block a user