diff options
Diffstat (limited to 'src/nativewindow/classes')
-rw-r--r-- | src/nativewindow/classes/jogamp/nativewindow/ProxySurfaceImpl.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nativewindow/classes/jogamp/nativewindow/ProxySurfaceImpl.java b/src/nativewindow/classes/jogamp/nativewindow/ProxySurfaceImpl.java index 4c53ddb94..9f650f760 100644 --- a/src/nativewindow/classes/jogamp/nativewindow/ProxySurfaceImpl.java +++ b/src/nativewindow/classes/jogamp/nativewindow/ProxySurfaceImpl.java @@ -163,6 +163,10 @@ public abstract class ProxySurfaceImpl implements ProxySurface { @Override public boolean surfaceSwap() { + final NativeSurface upstreamSurface = upstream.getUpstreamSurface(); + if( null != upstreamSurface ) { + return upstreamSurface.surfaceSwap(); + } return false; } |