- remove Java 1.6-only call in AwtPanel
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8873 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
5ce347eec8
commit
e6fae36159
@ -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…
x
Reference in New Issue
Block a user