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

This reverts commit fa62959451.
master
Stephen Gold 5 years ago
parent 036b08a385
commit c0692df207
  1. 1
      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);
}

Loading…
Cancel
Save