LWJGL3 with no window

Started by hdonk, March 28, 2020, 14:25:46

Previous topic - Next topic

hdonk

Hi,
   I want to mix OpenGLES/LWJGL3 with Swing on Linux. This works fine on Windows, but due to the (well known?) issue with XWindows errors caused by Swing being caught by the nvidia egl stack and killing the application, I haven't yet succeeded.
   I've created a version of code that uses an FBO, but I can't find a way of using LWJGL3 to create an OpenGLES context without a window to then use the FBO. Even using a non-displayed window results in the errors just mentioned.
   Anyone have a solution for this please?
Cheers,
hdonk