summaryrefslogtreecommitdiffstats
path: root/src/nativewindow/classes/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-04-03 18:15:36 +0200
committerSven Gothel <[email protected]>2013-04-03 18:15:36 +0200
commit15e20956fc6a700c12b54342b6e1320a150ce039 (patch)
tree9f5dd4ab95274721a9f5c7b81448044bc8fdd836 /src/nativewindow/classes/com/jogamp
parent8d3018d0852e1d44cb76298f6113629c110a1d4d (diff)
JAWTWindow: Issue component.repaint() after attachSurfaceLayer(..), otherwise no rendering result might be visible w/o Animator
Diffstat (limited to 'src/nativewindow/classes/com/jogamp')
-rw-r--r--src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java b/src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java
index 16d4a07ef..a71356b1c 100644
--- a/src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java
+++ b/src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java
@@ -232,7 +232,7 @@ public abstract class JAWTWindow implements NativeWindow, OffscreenLayerSurface,
}
attachSurfaceLayerImpl(layerHandle);
offscreenSurfaceLayer = layerHandle;
- layoutSurfaceLayerImpl(layerHandle, getWidth(), getHeight());
+ component.repaint();
}
protected void attachSurfaceLayerImpl(final long layerHandle) {
throw new UnsupportedOperationException("offscreen layer not supported");