Explorar o código

- remove Java 1.6-only call in AwtPanel

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8873 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
nor..67 %!s(int64=14) %!d(string=hai) anos
pai
achega
e6fae36159
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      engine/src/desktop/com/jme3/system/awt/AwtPanel.java

+ 1 - 1
engine/src/desktop/com/jme3/system/awt/AwtPanel.java

@@ -103,7 +103,7 @@ public class AwtPanel extends Canvas implements SceneProcessor {
     public boolean checkVisibilityState(){
         if (!hasNativePeer.get()){
             if (strategy != null){
-                strategy.dispose();
+//                strategy.dispose();
                 strategy = null;
                 System.out.println("OGL: Not visible. Destroy strategy.");
             }