From 35435c313ba527c9bea35a14f72492d2f80a9c84 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Mon, 18 Jul 2005 23:15:37 +0000 Subject: Moved pbuffer creation support from MacOSXOnscreenGLDrawable to MacOSXGLContextFactory. This completes the transition from creating pbuffers as a subordinate object of a GLCanvas to creating them as standalone GLDrawables. Deleted code from GLAutoDrawable and all implementations related to pbuffer instantiation. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@328 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/net/java/games/jogl/impl/macosx/MacOSXOffscreenGLDrawable.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/net/java/games/jogl/impl/macosx/MacOSXOffscreenGLDrawable.java') diff --git a/src/net/java/games/jogl/impl/macosx/MacOSXOffscreenGLDrawable.java b/src/net/java/games/jogl/impl/macosx/MacOSXOffscreenGLDrawable.java index d7da03ec0..1118680ca 100644 --- a/src/net/java/games/jogl/impl/macosx/MacOSXOffscreenGLDrawable.java +++ b/src/net/java/games/jogl/impl/macosx/MacOSXOffscreenGLDrawable.java @@ -56,8 +56,6 @@ public class MacOSXOffscreenGLDrawable extends MacOSXPbufferGLDrawable { destroy(); initWidth = width; initHeight = height; - // Floating-point frame buffers are never used with offscreen - // drawables (in GLJPanel) so don't need a GL object here - createPbuffer(null); + createPbuffer(); } } -- cgit v1.2.3