aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-11-09 22:35:07 +0100
committerSven Gothel <[email protected]>2011-11-09 22:35:07 +0100
commit0bdf9a9bb63a6e151acb5c58a0ab06a2644d4700 (patch)
treec4365b2e9dc49758e0c6e2a34cb80d73af2e8b34
parenta968068d835a28610bd63e6eec5043cb4592cf08 (diff)
NewtCanvasAWT: nativeWindow field lifecycle is same as holder (Composition). (regression from commit 46542168d64b37f544f61802693f15b59b224e4e)
-rw-r--r--src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java b/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
index 1bcd8c39e..126ee5289 100644
--- a/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
+++ b/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
@@ -321,7 +321,6 @@ public class NewtCanvasAWT extends java.awt.Canvas implements WindowClosingProto
newtChild.windowRepaint(0, 0, w, h);
} else {
configureNewtChild(false);
- nativeWindow = null;
newtChild.setVisible(false);
newtChild.reparentWindow(null);
}