Regarding JOGL resize/splitter problems

After some more research, it’s when the GLCanvas get’s below 1,1 or is resized in another way.

The following error occurs:

Init GL is net.java.games.jogl.impl.windows.WindowsGLImpl
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:270)
at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:186)
at net.java.games.jogl.GLCanvas.display(GLCanvas.java:74)
at net.java.games.jogl.Animator$1.run(Animator.java:104)
at java.lang.Thread.run(Unknown Source)

I suppose it’s because the GLCanvas needs to be told when it’s resized. (And this works if it’s just in a single fJFrame when you minimize, but not when you maximise).

All in all I would conclude, that something needs to be recreated on resize or the canvas have to have it’s resize function called.

Hope it helps. I don’t have the right security clearance for bug reporting :slight_smile:

Again, do you have a small test case? Could you please file a bug with the JOGL Issue Tracker? You will need to be an Observer of the project to do so.

I already filed a request to be an observer, so now we’ll see when it gets through :slight_smile: