From 906e3698f1493daab5cf196b893e65b11b2f0d12 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 5 Oct 2009 03:30:28 -0700 Subject: Fix: EGL set doublebuffer:=false for offscreen --- .../classes/com/sun/opengl/impl/egl/EGLGraphicsConfigurationFactory.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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())); -- cgit v1.2.3