Revert "Fixes issue #1336: AWTPanels forcing OpenGL 2.0 (Compat Profile)"

This reverts commit 84912d5803.
v3.3
Stephen Gold 5 years ago
parent a150deb8be
commit a667f5e8cd
  1. 1
      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) { public void setSettings(AppSettings settings) {
this.settings.copyFrom(settings); this.settings.copyFrom(settings);
this.settings.setRenderer(AppSettings.LWJGL_OPENGL2);
if (actualContext != null){ if (actualContext != null){
actualContext.setSettings(settings); actualContext.setSettings(settings);
} }

Loading…
Cancel
Save