LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: hdonk on March 28, 2020, 14:25:46

Title: LWJGL3 with no window
Post by: hdonk on March 28, 2020, 14:25:46
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