Hello,
Almost every time I close my program that uses JOGL, i get the following error:
net.java.games.jogl.GLException: Error swapping buffers
at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.swapBuffers(WindowsOnscreenGLContext.java:140)
at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:236)
Is there some code I should run before closing the window and doing System.exit(0) ?