NebulaFox
NebulaFox

Reputation: 8323

OpenGL ES 1.1 reporting 0x0500 error

A simple question, does the error code 0x0500 mean anything besides there was an error?

Upvotes: 4

Views: 12481

Answers (1)

MrAnonymous
MrAnonymous

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

Related Questions