You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with DriftFX 1.0.0 I am getting a runtime exception on JavaFX 20 with JDK 20.
Exception in thread "Thread-4" java.lang.RuntimeException
at org.eclipse.fx.drift.internal.frontend.FxImageFactory.createFxImage(FxImageFactory.java:37)
at org.eclipse.fx.drift.internal.frontend.SimpleFrontSwapChain.<init>(SimpleFrontSwapChain.java:58)
at org.eclipse.fx.drift.internal.frontend.FrontendImpl.doCreateSwapchain(FrontendImpl.java:99)
at org.eclipse.fx.drift.internal.frontend.FrontendImpl.receiveCommand(FrontendImpl.java:137)
at org.eclipse.fx.drift.internal.backend.BackendImpl.sendCommand(BackendImpl.java:85)
at org.eclipse.fx.drift.internal.backend.BackendImpl.createSwapchain(BackendImpl.java:45)
at org.eclipse.fx.drift.internal.RendererImpl.createSwapchain(RendererImpl.java:88)
at com.lenis0012.oraksi.SceneExplorer.loop(SceneExplorer.java:74)
at com.lenis0012.oraksi.SceneExplorer.run(SceneExplorer.java:37)
This error occurs in FxImageFactory when creating an image. I debugged the error and noticed that all Prism backends return false.
So Prism.isES2(), Prism.isD3D() and Prism.isSW() are all false.
I am using the following code to set up an OpenGL context:
with DriftFX 1.0.0 I am getting a runtime exception on JavaFX 20 with JDK 20.
This error occurs in FxImageFactory when creating an image. I debugged the error and noticed that all Prism backends return false.
So
Prism.isES2()
,Prism.isD3D()
andPrism.isSW()
are all false.I am using the following code to set up an OpenGL context:
and this is the code in my rendering loop:
The initialization and loop happen on a separate thread started from the FXML controller using
Platform.runLater
to allow layout to complete first.The text was updated successfully, but these errors were encountered: