diff options
Diffstat (limited to 'src/net/java/games/jogl/impl/macosx/MacOSXOffscreenGLDrawable.java')
-rw-r--r-- | src/net/java/games/jogl/impl/macosx/MacOSXOffscreenGLDrawable.java | 4 |
1 files changed, 1 insertions, 3 deletions
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(); } } |