- remove Java 1.6-only call in AwtPanel

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8873 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent 5ce347eec8
commit e6fae36159
  1. 2
      engine/src/desktop/com/jme3/system/awt/AwtPanel.java

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

Loading…
Cancel
Save