aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com
diff options
context:
space:
mode:
authorSven Göthel <[email protected]>2024-01-25 09:43:29 +0100
committerSven Göthel <[email protected]>2024-01-25 09:43:29 +0100
commit18afa5200983bb158e631c81f2df1ca1a45cd882 (patch)
tree7e3fb771e992f597691de4d998ab29c1329cd671 /src/jogl/classes/com
parent76487cd34ba706bee6c122a1cbbc75f5639eb4a4 (diff)
Bug 1491: Add missing rename DefaultGraphicsDevice.swap{Device->}HandleAndOwnership()
Diffstat (limited to 'src/jogl/classes/com')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/GLEventListenerState.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/GLEventListenerState.java b/src/jogl/classes/com/jogamp/opengl/GLEventListenerState.java
index 8f0724b03..29e3d7bbc 100644
--- a/src/jogl/classes/com/jogamp/opengl/GLEventListenerState.java
+++ b/src/jogl/classes/com/jogamp/opengl/GLEventListenerState.java
@@ -440,7 +440,7 @@ public class GLEventListenerState {
System.err.println("GLEventListenerState.moveTo.0a: orig 0x"+Integer.toHexString(aDevice1.hashCode())+", "+aDevice1);
System.err.println("GLEventListenerState.moveTo.0b: pres 0x"+Integer.toHexString(aDevice2.hashCode())+", "+aDevice2);
}
- DefaultGraphicsDevice.swapDeviceHandleAndOwnership(aDevice1, aDevice2);
+ DefaultGraphicsDevice.swapHandleAndOwnership(aDevice1, aDevice2);
aDevice2.close();
if( DEBUG ) {
System.err.println("GLEventListenerState.moveTo.1a: orig 0x"+Integer.toHexString(aDevice1.hashCode())+", "+aDevice1);
@@ -462,7 +462,7 @@ public class GLEventListenerState {
System.err.println("GLEventListenerState.moveTo.2b: up-pres 0x"+Integer.toHexString(aUpDevice2.hashCode())+", "+aUpDevice2);
System.err.println("GLEventListenerState.moveTo.2c: "+aUpSurface.getClass().getName()/*+", "+aUpSurface+", "*/+aProxy.getUpstreamOptionBits(null).toString());
}
- DefaultGraphicsDevice.swapDeviceHandleAndOwnership(aUpDevice1, aUpDevice2);
+ DefaultGraphicsDevice.swapHandleAndOwnership(aUpDevice1, aUpDevice2);
aUpDevice2.close();
if( proxyOwnsUpstreamDevice ) {
aProxy.addUpstreamOptionBits( ProxySurface.OPT_PROXY_OWNS_UPSTREAM_DEVICE );