From c0692df207ee1d61215618c652b3f0c99450f968 Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Fri, 8 May 2020 11:37:57 -0700 Subject: [PATCH] Revert "Fixes issue #1336: AWTPanels forcing OpenGL 2.0 (Compat Profile)" This reverts commit fa6295945109743f55602df592593b0f286da287. --- .../src/main/java/com/jme3/system/awt/AwtPanelsContext.java | 1 + 1 file changed, 1 insertion(+) diff --git a/jme3-desktop/src/main/java/com/jme3/system/awt/AwtPanelsContext.java b/jme3-desktop/src/main/java/com/jme3/system/awt/AwtPanelsContext.java index 9247378ef..52cbcb3ff 100644 --- a/jme3-desktop/src/main/java/com/jme3/system/awt/AwtPanelsContext.java +++ b/jme3-desktop/src/main/java/com/jme3/system/awt/AwtPanelsContext.java @@ -230,6 +230,7 @@ public class AwtPanelsContext implements JmeContext { @Override public void setSettings(AppSettings settings) { this.settings.copyFrom(settings); + this.settings.setRenderer(AppSettings.LWJGL_OPENGL2); if (actualContext != null){ actualContext.setSettings(settings); }