- make SDK really set gl level to "1" instead of "any" when enabling GL1

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9945 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 12 years ago
parent 54c7447efa
commit 9b30f25616
  1. 2
      sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java

@ -124,7 +124,7 @@ public class SceneApplication extends Application implements LookupProvider {
AppSettings newSetting = new AppSettings(true); AppSettings newSetting = new AppSettings(true);
newSetting.setFrameRate(30); newSetting.setFrameRate(30);
if ("true".equals(NbPreferences.forModule(Installer.class).get("use_opengl_1", "false"))) { if ("true".equals(NbPreferences.forModule(Installer.class).get("use_opengl_1", "false"))) {
newSetting.setRenderer(AppSettings.LWJGL_OPENGL_ANY); newSetting.setRenderer(AppSettings.LWJGL_OPENGL1);
} }
if (!useCanvas) { if (!useCanvas) {
newSetting.setCustomRenderer(AwtPanelsContext.class); newSetting.setCustomRenderer(AwtPanelsContext.class);

Loading…
Cancel
Save