Talk:OpenGL Error Codes

From OpenGL Wiki
(Redirected from Talk:GL Error Codes)
Jump to navigation Jump to search

Enum Numbers

What is the point of giving enum numbers here? I hope no one use them directly in his code. --dhe 08:40, 31 August 2011 (PDT)

Because some people, particularly those inexperienced with OpenGL, will just print out the error number they get from glGetError(). So they need some way to translate it back into enums. Alfonse 13:10, 31 August 2011 (PDT)