summaryrefslogtreecommitdiffstats
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 57f613fea..a4d4c8586 100644
--- a/src/newt/classes/jogamp/newt/PointerIconImpl.java
+++ b/src/newt/classes/jogamp/newt/PointerIconImpl.java
@@ -125,7 +125,7 @@ public class PointerIconImpl implements PointerIcon {
}
display.runOnEDTIfAvail(false, new Runnable() {
public void run() {
- if( !display.isNativeValidAsync() ) {
+ if( display.isNativeValidAsync() ) {
destroyOnEDT(display.getHandle());
}
} } );