diff options
Diffstat (limited to 'src/classes/com/sun/opengl/impl/windows/WindowsPbufferGLContext.java')
-rw-r--r-- | src/classes/com/sun/opengl/impl/windows/WindowsPbufferGLContext.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/classes/com/sun/opengl/impl/windows/WindowsPbufferGLContext.java b/src/classes/com/sun/opengl/impl/windows/WindowsPbufferGLContext.java index edfc70e5f..390c14054 100644 --- a/src/classes/com/sun/opengl/impl/windows/WindowsPbufferGLContext.java +++ b/src/classes/com/sun/opengl/impl/windows/WindowsPbufferGLContext.java @@ -107,8 +107,8 @@ public class WindowsPbufferGLContext extends WindowsGLContext { GLCapabilities capabilities = drawable.getCapabilities(); // Initialize render-to-texture support if requested - rtt = capabilities.getOffscreenRenderToTexture(); - rect = capabilities.getOffscreenRenderToTextureRectangle(); + rtt = capabilities.getPbufferRenderToTexture(); + rect = capabilities.getPbufferRenderToTextureRectangle(); GL gl = getGL(); if (rtt) { |