summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/GLContextImpl.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-02-18 21:49:37 +0100
committerSven Gothel <[email protected]>2014-02-18 21:49:37 +0100
commitb96fc594f15fcf9ee0fd238ce8d7a10aea781d32 (patch)
tree858e2362b3ccbcc2e948d677ad20321249f68da4 /src/jogl/classes/jogamp/opengl/GLContextImpl.java
parent41190c3830157abdf9649cbf7767e57108f55075 (diff)
GLContextImpl/GLDrawableImpl.getDefaultReadBuffer(..): Pass hint whether dedicated read-drawable is being used (double buffering)
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/GLContextImpl.java')
-rw-r--r--src/jogl/classes/jogamp/opengl/GLContextImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/opengl/GLContextImpl.java b/src/jogl/classes/jogamp/opengl/GLContextImpl.java
index b133fc017..9ccd78589 100644
--- a/src/jogl/classes/jogamp/opengl/GLContextImpl.java
+++ b/src/jogl/classes/jogamp/opengl/GLContextImpl.java
@@ -2231,7 +2231,7 @@ public abstract class GLContextImpl extends GLContext {
@Override
public final int getDefaultReadFramebuffer() { return drawable.getDefaultReadFramebuffer(); }
@Override
- public final int getDefaultReadBuffer() { return drawable.getDefaultReadBuffer(gl); }
+ public final int getDefaultReadBuffer() { return drawable.getDefaultReadBuffer(gl, drawableRead != drawable); }
//---------------------------------------------------------------------------
// GL_ARB_debug_output, GL_AMD_debug_output helpers