diff options
author | Sven Gothel <[email protected]> | 2023-01-22 01:25:24 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-01-22 01:25:24 +0100 |
commit | 470a0ff3a2efbe43404d5f80a403efb38005598a (patch) | |
tree | cefee0f2107b028fd337188f7ce2a9cba125d0f4 /src/nativewindow/classes/com | |
parent | b8977465b2fb8452c2560a5d2561b2561472edf0 (diff) |
MacOS: JAWTWindow's OffscreeLayer: Show semantics in argument names and complete null checks in detachSurfaceLayerImpl(), setSurfaceScale()
Diffstat (limited to 'src/nativewindow/classes/com')
-rw-r--r-- | src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java b/src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java index 8ee1adc06..0c25b3e28 100644 --- a/src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java +++ b/src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java @@ -289,7 +289,7 @@ public abstract class JAWTWindow implements NativeWindow, OffscreenLayerSurface, maxPixelScale[1] = ScalableSurface.IDENTITY_PIXELSCALE; hasPixelScaleChanged = false; } - protected abstract void invalidateNative(final long offscreenSurfaceLayer); + protected abstract void invalidateNative(final long _offscreenSurfaceLayer); /** * Set a new {@link AWTGraphicsConfiguration} instance, @@ -514,7 +514,7 @@ public abstract class JAWTWindow implements NativeWindow, OffscreenLayerSurface, } } }; - protected void attachSurfaceLayerImpl(final long layerHandle) { + protected void attachSurfaceLayerImpl(final long _offscreenSurfaceLayer) { throw new UnsupportedOperationException("offscreen layer not supported"); } @@ -558,7 +558,7 @@ public abstract class JAWTWindow implements NativeWindow, OffscreenLayerSurface, /** * @param detachNotify Runnable to be called before native detachment */ - protected void detachSurfaceLayerImpl(final long layerHandle) { + protected void detachSurfaceLayerImpl(final long _offscreenSurfaceLayer) { throw new UnsupportedOperationException("offscreen layer not supported"); } |