I get
1
| org.lwjgl.opengl.OpenGLException: Invalid operation (1282) |
I've seen this error commonly happens when using more than one thread but I do have one thread only ! Here's the complete stack trace :
1 2 3 4 5 6 7 8 9
| org.lwjgl.opengl.OpenGLException: Invalid operation (1282) at org.lwjgl.opengl.Util.checkGLError(Util.java:56) at org.lwjgl.opengl.Display.swapBuffers(Display.java:566) at org.lwjgl.opengl.Display.update(Display.java:582) at com.xith3d.render.lwjgl.CanvasPeerImpl.renderDone(CanvasPeerImpl.java:772) at com.xith3d.render.lwjgl.CanvasPeerImpl.display(CanvasPeerImpl.java:958) at com.xith3d.render.lwjgl.CanvasPeerImpl.render(CanvasPeerImpl.java:1035) at com.xith3d.scenegraph.View.renderOnce(View.java:616) at com.xith3d.scenegraph.View.renderOnce(View.java:549) |
It seems like it happens just before swapBuffers() (swapBuffer calls Util.GLCheckError() before really swapping buffers).
See :
http://www.java-gaming.org/forums/index.php?topic=14118.0Anyone has an idea to fix it ?
Any infos welcome, I'm not a LWJGL guru but I'd like to see if I can increase performances using LWJGL.