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

master
Stephen Gold 5 years ago
parent 607e068f76
commit fa62959451
  1. 1
      jme3-desktop/src/main/java/com/jme3/system/awt/AwtPanelsContext.java

@ -230,7 +230,6 @@ public class AwtPanelsContext implements JmeContext {
@Override @Override
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