diff options
author | Sven Gothel <[email protected]> | 2009-10-05 03:30:28 -0700 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-10-05 03:30:28 -0700 |
commit | 906e3698f1493daab5cf196b893e65b11b2f0d12 (patch) | |
tree | f7aa2d06efe4727cb81ed97409878db48cf5f65c /src/jogl/classes/com/sun/opengl | |
parent | 76bf2e5a7f23def0a3bf2b688791b593ecb283ab (diff) |
Fix: EGL set doublebuffer:=false for offscreen
Diffstat (limited to 'src/jogl/classes/com/sun/opengl')
-rw-r--r-- | src/jogl/classes/com/sun/opengl/impl/egl/EGLGraphicsConfigurationFactory.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jogl/classes/com/sun/opengl/impl/egl/EGLGraphicsConfigurationFactory.java b/src/jogl/classes/com/sun/opengl/impl/egl/EGLGraphicsConfigurationFactory.java index b155dc9d1..19515d4d6 100644 --- a/src/jogl/classes/com/sun/opengl/impl/egl/EGLGraphicsConfigurationFactory.java +++ b/src/jogl/classes/com/sun/opengl/impl/egl/EGLGraphicsConfigurationFactory.java @@ -267,6 +267,7 @@ public class EGLGraphicsConfigurationFactory extends GraphicsConfigurationFactor if(caps.isOnscreen()) { throw new GLException("Error: Onscreen set: "+caps); } + caps.setDoubleBuffered(false); // FIXME long eglDisplay = EGL.eglGetDisplay(EGL.EGL_DEFAULT_DISPLAY); if (eglDisplay == EGL.EGL_NO_DISPLAY) { throw new GLException("Failed to created EGL default display: error 0x"+Integer.toHexString(EGL.eglGetError())); |