PDA

View Full Version : help!! unknown bug?? GL ERROR : invalid value



mochi
05-27-2003, 05:11 PM
Has anyone any clue on what this exception is refering to?? Could it be a known bug?? or am i not handling my threads well??

GL ERROR : invalid value
GL ERROR : 1281 x 0x501

java.lang.Exception

at gl4java.GLContext.gljCheckGL(GLContext.jave:2249)
at gl4java.awt.GLCanvas.display(GLCanvas.java:796)
at gl4java.awt.GLCanvas.sDisplay(GLCanvas.java:715)
at gl4java.awt.GLAnimCanvas.run(GLAnimCanvas.java:466 )
at java.lang.Thread.run(Thread.java:466)

jwatte
05-27-2003, 06:15 PM
Please don't re-post.

Check the documentation for your development environment on what specific error codes mean, as there is nothing OpenGL specific in your question.

Just to give you a random sample of how this works in another languages (Visual C++):




> cd "\Program Files\Microsoft Visual Studio\VC98\Include\GL"
> grep 501 GL.h
#define GL_INVALID_VALUE 0x0501
>