From a667f5e8cd10194f99a0c26a5b713a66b65222b8 Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Tue, 21 Apr 2020 08:29:56 -0700 Subject: [PATCH] Revert "Fixes issue #1336: AWTPanels forcing OpenGL 2.0 (Compat Profile)" This reverts commit 84912d5803431063083be125944597966d658e8e. --- .../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 7c319c2c2..ee41ea569 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 @@ -210,6 +210,7 @@ public class AwtPanelsContext implements JmeContext { public void setSettings(AppSettings settings) { this.settings.copyFrom(settings); + this.settings.setRenderer(AppSettings.LWJGL_OPENGL2); if (actualContext != null){ actualContext.setSettings(settings); }