Browse Source

- 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 14 years ago
parent
commit
e6fae36159
1 changed files with 1 additions and 1 deletions
  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.");
             }