summaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-07-11 23:47:07 +0000
committerKenneth Russel <[email protected]>2006-07-11 23:47:07 +0000
commit03beff00b5615554f4e8364fcfea7b1e14c5b64d (patch)
treef1178bc0d892f53ab339e67f74ada3603b535356 /src/classes/com/sun/opengl
parent110fd4430ea619efbd708932c31429d56c0caa72 (diff)
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
Diffstat (limited to 'src/classes/com/sun/opengl')
-rwxr-xr-xsrc/classes/com/sun/opengl/impl/Java2D.java3
1 files changed, 3 insertions, 0 deletions
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[] {