Checks pending OpenGL errors.
true if at least one OpenGL error was pending. OpenGL error status is cleared.
See Implementation
Checks pending OpenGL errors.