diff options
author | Sven Gothel <[email protected]> | 2023-01-21 21:03:00 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-01-21 21:03:00 +0100 |
commit | 3c4cf1f37dc27d8d527804d195361a2287575147 (patch) | |
tree | 43048212fa050edda398eec724ea6a02bb991590 /src | |
parent | 4009198e34b50bba9582be24f33eaf83b94a2cb8 (diff) |
JAWTWindow.ctor: Initialize offscreenSurfaceLayer before use
Diffstat (limited to 'src')
-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 49bed4a15..a4349f545 100644 --- a/src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java +++ b/src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java @@ -130,9 +130,9 @@ public abstract class JAWTWindow implements NativeWindow, OffscreenLayerSurface, } this.component = (Component)comp; this.jawtComponentListener = new JAWTComponentListener(); + this.offscreenSurfaceLayer = 0; invalidate(); this.awtConfig = (AWTGraphicsConfiguration) config; - this.offscreenSurfaceLayer = 0; if(DEBUG) { System.err.println(jawtStr2("ctor")); } |