Talk:OpenGL Error Codes: Difference between revisions
Jump to navigation
Jump to search
Created page with "== Enum Numbers == What is the point of giving enum numbers here? I hope no one use them directly in his code. --~~~~" |
|||
Line 1: | Line 1: | ||
== Enum Numbers == | == Enum Numbers == | ||
What is the point of giving enum numbers here? I hope no one use them directly in his code. --[[User:Dhe|dhe]] 08:40, 31 August 2011 (PDT) | What is the point of giving enum numbers here? I hope no one use them directly in his code. --[[User:Dhe|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. [[User:Alfonse|Alfonse]] 13:10, 31 August 2011 (PDT) |
Revision as of 20:10, 31 August 2011
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)