Error OpenGL ES 1.1 0x0500

A simple question, does error code 0x0500 mean anything other than error?

+3
source share
1 answer

This means "GL_INVALID_ENUM" - somewhere you passed an invalid GLenum. This is defined in the gl.h header file. Indeed - this is not very useful.

EDIT: My strategy for dealing with these errors is to surround OpenGL calls with a macro that claims everything is fine (glGetError () GL_NO_ERROR). They are going for performance tests.

+4
source

Source: https://habr.com/ru/post/1764610/


All Articles