Closed
Description
Testing with JME 3.6.0-beta1 and LWJGL 3 on Linux I am getting this exception in:
> Task :TestAwtPanels.main()
Feb 09, 2023 1:45:24 PM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.6.0-beta1
* Branch: HEAD
* Git Hash: ee91fb8
* Build Date: 2023-01-24
Feb 09, 2023 1:45:25 PM com.jme3.app.LegacyApplication handleError
SEVERE: Failed to create display
java.lang.IllegalStateException
at com.jme3.system.awt.AwtPanelsContext$AwtPanelsListener.reshape(AwtPanelsContext.java:67)
at com.jme3.system.lwjgl.LwjglWindow.updateSizes(LwjglWindow.java:393)
at com.jme3.system.lwjgl.LwjglWindow.createContext(LwjglWindow.java:370)
at com.jme3.system.lwjgl.LwjglWindow.initInThread(LwjglWindow.java:582)
at com.jme3.system.lwjgl.LwjglWindow.run(LwjglWindow.java:704)
at java.lang.Thread.run(Thread.java:750)
I think this has something to do with changes made in PR #1794
This results in some redundant callbacks (multiple callbacks for a single createContext())