diff options
author | Sven Gothel <[email protected]> | 2013-04-03 18:15:36 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-04-03 18:15:36 +0200 |
commit | 15e20956fc6a700c12b54342b6e1320a150ce039 (patch) | |
tree | 9f5dd4ab95274721a9f5c7b81448044bc8fdd836 /src/nativewindow/classes/com/jogamp | |
parent | 8d3018d0852e1d44cb76298f6113629c110a1d4d (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.java | 2 |
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"); |