Uses NEWT instead of AWT by default

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10263 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
jul..om 12 years ago
parent 348faf6a04
commit 5d24544589
  1. 4
      engine/src/desktop/com/jme3/system/JmeDesktopSystem.java

@ -186,10 +186,10 @@ public class JmeDesktopSystem extends JmeSystemDelegate {
Class<? extends JmeContext> ctxClazz = null;
switch (type) {
case Display:
ctxClazz = (Class<? extends JmeContext>) Class.forName("com.jme3.system.jogl.JoglDisplay");
ctxClazz = (Class<? extends JmeContext>) Class.forName("com.jme3.system.jogl.JoglNewtDisplay");
break;
case Canvas:
ctxClazz = (Class<? extends JmeContext>) Class.forName("com.jme3.system.jogl.JoglCanvas");
ctxClazz = (Class<? extends JmeContext>) Class.forName("com.jme3.system.jogl.JoglNewtCanvas");
break;
default:
throw new IllegalArgumentException("Unsupported context type " + type);

Loading…
Cancel
Save