From e6fae361594a91379775abfb31a00cc444e65aec Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Tue, 6 Dec 2011 19:23:08 +0000 Subject: [PATCH] - remove Java 1.6-only call in AwtPanel git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8873 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/desktop/com/jme3/system/awt/AwtPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/desktop/com/jme3/system/awt/AwtPanel.java b/engine/src/desktop/com/jme3/system/awt/AwtPanel.java index acde2d1fa..b84565bd6 100644 --- a/engine/src/desktop/com/jme3/system/awt/AwtPanel.java +++ b/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."); }