From 03beff00b5615554f4e8364fcfea7b1e14c5b64d Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Tue, 11 Jul 2006 23:47:07 +0000 Subject: Added hack workaround to Java2D class to assume that FBO support in Java2D/OpenGL pipeline is not enabled on OS X; will need proper fix later git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@841 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/classes/com/sun/opengl/impl/Java2D.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/classes/com/sun/opengl/impl/Java2D.java') diff --git a/src/classes/com/sun/opengl/impl/Java2D.java b/src/classes/com/sun/opengl/impl/Java2D.java index 137545512..515cc578c 100755 --- a/src/classes/com/sun/opengl/impl/Java2D.java +++ b/src/classes/com/sun/opengl/impl/Java2D.java @@ -200,6 +200,9 @@ public class Java2D { } } if (cglSurfaceData != null) { + // FIXME: for now, assume that FBO support is not enabled on OS X + fbObjectSupportInitialized = false; + // We need to find these methods in order to make the bridge work on OS X createOGLContextOnSurfaceMethod = cglSurfaceData.getDeclaredMethod("createOGLContextOnSurface", new Class[] { -- cgit v1.2.3