diff options
Diffstat (limited to 'src/classes/com/sun/opengl/impl/macosx/MacOSXPbufferGLDrawable.java')
-rw-r--r-- | src/classes/com/sun/opengl/impl/macosx/MacOSXPbufferGLDrawable.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/classes/com/sun/opengl/impl/macosx/MacOSXPbufferGLDrawable.java b/src/classes/com/sun/opengl/impl/macosx/MacOSXPbufferGLDrawable.java index 038b1d759..a28d945f7 100644 --- a/src/classes/com/sun/opengl/impl/macosx/MacOSXPbufferGLDrawable.java +++ b/src/classes/com/sun/opengl/impl/macosx/MacOSXPbufferGLDrawable.java @@ -107,7 +107,7 @@ public class MacOSXPbufferGLDrawable extends MacOSXGLDrawable { protected void createPbuffer() { int renderTarget; - if (capabilities.getOffscreenRenderToTextureRectangle()) { + if (capabilities.getPbufferRenderToTextureRectangle()) { width = initWidth; height = initHeight; renderTarget = GL.GL_TEXTURE_RECTANGLE_EXT; @@ -118,7 +118,7 @@ public class MacOSXPbufferGLDrawable extends MacOSXGLDrawable { } int internalFormat = GL.GL_RGBA; - if (capabilities.getOffscreenFloatingPointBuffers()) { + if (capabilities.getPbufferFloatingPointBuffers()) { // FIXME: want to check availability of GL_APPLE_float_pixels // extension, but need valid OpenGL context in order to do so -- // in worst case would need to create dummy window / GLCanvas |