aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/classes/jogamp/newt/PointerIconImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/newt/classes/jogamp/newt/PointerIconImpl.java')
-rw-r--r--src/newt/classes/jogamp/newt/PointerIconImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/classes/jogamp/newt/PointerIconImpl.java b/src/newt/classes/jogamp/newt/PointerIconImpl.java
index 7c8535f20..840799d55 100644
--- a/src/newt/classes/jogamp/newt/PointerIconImpl.java
+++ b/src/newt/classes/jogamp/newt/PointerIconImpl.java
@@ -130,7 +130,7 @@ public class PointerIconImpl implements PointerIcon {
}
display.runOnEDTIfAvail(false, new Runnable() {
public void run() {
- if( display.isNativeValid() ) {
+ if( !display.isNativeValidAsync() ) {
destroyOnEDT(display.getHandle());
}
} } );