From: guillaume D. <gui...@ne...> - 2002-07-28 12:50:20
|
Hi! i have - another - problem with OpenGL for Java. when i execute my program, i receive the following error message: guillaume@fallen:~/racine/devel/java/gl/src$ j1 GLTest GL ERROR : invalid value GL ERROR : 1281 == 0x501 java.lang.Exception at gl4java.GLContext.gljCheckGL(GLContext.java:2249) at gl4java.awt.GLCanvas.display(GLCanvas.java:796) at gl4java.awt.GLCanvas.sDisplay(GLCanvas.java:715) at gl4java.awt.GLCanvas.paint(GLCanvas.java:522) at sun.awt.RepaintArea.paint(RepaintArea.java:177) at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:374) at java.awt.Component.dispatchEventImpl(Component.java:3658) at java.awt.Component.dispatchEvent(Component.java:3439) at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java: 197) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:15 0) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) at java.awt.EventDispatchThread.run(EventDispatchThread.java:99) what means this kind of error? for those who want to read the code, it's here: http://www.freenopen.net/~guillaume/fr/prog/gl4java/affiche/GLTestCan.java http://www.freenopen.net/~guillaume/fr/prog/gl4java/affiche/GLTestGraphicGL.java i think the error is in these files... does it have someting to do with the canvas? thank you for your help, -- guillaume |