summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/sun/opengl/impl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-10-05 03:30:28 -0700
committerSven Gothel <[email protected]>2009-10-05 03:30:28 -0700
commit906e3698f1493daab5cf196b893e65b11b2f0d12 (patch)
treef7aa2d06efe4727cb81ed97409878db48cf5f65c /src/jogl/classes/com/sun/opengl/impl
parent76bf2e5a7f23def0a3bf2b688791b593ecb283ab (diff)
Fix: EGL set doublebuffer:=false for offscreen
Diffstat (limited to 'src/jogl/classes/com/sun/opengl/impl')
-rw-r--r--src/jogl/classes/com/sun/opengl/impl/egl/EGLGraphicsConfigurationFactory.java1
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()));