We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › "Error swapping buffers"
Page Index Toggle Pages: 1
"Error swapping buffers"? (Read 460 times)
"Error swapping buffers"?
Mar 18th, 2006, 7:11pm
 
Hi,

When I try to compile/run any Processing code using OpenGL, I get the error message "Error swapping buffers". What's that about!

I can run my other OpenGL apps OK, so it's not like I don't have OpenGL. I've tried http://processing.org/learning/examples/matrix.html and switching another sketch I've been working on (Snake Charmer) to use OPENGL rather than P3D, with exactly the same result:

Code:

java.lang.RuntimeException: net.java.games.jogl.GLException: Error swapping buffers
at processing.opengl.PGraphicsGL.requestDisplay(PGraphicsGL.java:214)
at processing.core.PApplet.run(PApplet.java:1142)
at java.lang.Thread.run(Unknown Source)
Caused by: net.java.games.jogl.GLException: Error swapping buffers
at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.swapBuffers(WindowsOnscreenGLContext.java:155)
at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:296)
at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.invokeGL(WindowsOnscreenGLContext.java:79)
at net.java.games.jogl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:266)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Page Index Toggle Pages: 1