Debugging, OpenGL error checking