Difference between revisions of "Talk:OpenGL Error Codes"

From OpenGL Wiki
Jump to navigation Jump to search
(No difference)

Latest revision as of 06:47, 19 February 2013

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)