Reputation: 8323
A simple question, does the error code 0x0500 mean anything besides there was an error?
Upvotes: 4
Views: 12481
Reputation: 707
It means "GL_INVALID_ENUM" -- somewhere you passed an invalid GLenum. This is defined in the gl.h header file. Indeed--it's not very helpful.
EDIT: My strategy in dealing with these errors it to surround OpenGL calls with a macro that asserts everything is ok (glGetError() GL_NO_ERROR). These get compiled out for performance tests.
Upvotes: 4