diff options
Diffstat (limited to 'src/classes/com/sun/opengl/impl/windows')
3 files changed, 14 insertions, 14 deletions
diff --git a/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java b/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java index b33c349ae..8b8df0926 100644 --- a/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java +++ b/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java @@ -426,9 +426,9 @@ public abstract class WindowsGLDrawable extends GLDrawableImpl { } } - boolean rtt = capabilities.getOffscreenRenderToTexture(); - boolean rect = capabilities.getOffscreenRenderToTextureRectangle(); - boolean useFloat = capabilities.getOffscreenFloatingPointBuffers(); + boolean rtt = capabilities.getPbufferRenderToTexture(); + boolean rect = capabilities.getPbufferRenderToTextureRectangle(); + boolean useFloat = capabilities.getPbufferFloatingPointBuffers(); boolean ati = false; if (pbuffer) { // Check some invariants and set up some state 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) { diff --git a/src/classes/com/sun/opengl/impl/windows/WindowsPbufferGLDrawable.java b/src/classes/com/sun/opengl/impl/windows/WindowsPbufferGLDrawable.java index 1543f420d..0dddddddd 100644 --- a/src/classes/com/sun/opengl/impl/windows/WindowsPbufferGLDrawable.java +++ b/src/classes/com/sun/opengl/impl/windows/WindowsPbufferGLDrawable.java @@ -69,9 +69,9 @@ public class WindowsPbufferGLDrawable extends WindowsGLDrawable { if (DEBUG) { System.out.println("Pbuffer caps on init: " + capabilities + - (capabilities.getOffscreenRenderToTexture() ? " [rtt]" : "") + - (capabilities.getOffscreenRenderToTextureRectangle() ? " [rect]" : "") + - (capabilities.getOffscreenFloatingPointBuffers() ? " [float]" : "")); + (capabilities.getPbufferRenderToTexture() ? " [rtt]" : "") + + (capabilities.getPbufferRenderToTextureRectangle() ? " [rect]" : "") + + (capabilities.getPbufferFloatingPointBuffers() ? " [float]" : "")); } createPbuffer(dummyDrawable.getHDC(), wglExt); @@ -150,9 +150,9 @@ public class WindowsPbufferGLDrawable extends WindowsGLDrawable { if (DEBUG) { System.out.println("Pbuffer parentHdc = " + toHexString(parentHdc)); System.out.println("Pbuffer caps: " + capabilities + - (capabilities.getOffscreenRenderToTexture() ? " [rtt]" : "") + - (capabilities.getOffscreenRenderToTextureRectangle() ? " [rect]" : "") + - (capabilities.getOffscreenFloatingPointBuffers() ? " [float]" : "")); + (capabilities.getPbufferRenderToTexture() ? " [rtt]" : "") + + (capabilities.getPbufferRenderToTextureRectangle() ? " [rect]" : "") + + (capabilities.getPbufferFloatingPointBuffers() ? " [float]" : "")); } if (!glCapabilities2iattributes(capabilities, @@ -164,9 +164,9 @@ public class WindowsPbufferGLDrawable extends WindowsGLDrawable { } floatMode = floatModeTmp[0]; - boolean rtt = capabilities.getOffscreenRenderToTexture(); - boolean rect = capabilities.getOffscreenRenderToTextureRectangle(); - boolean useFloat = capabilities.getOffscreenFloatingPointBuffers(); + boolean rtt = capabilities.getPbufferRenderToTexture(); + boolean rect = capabilities.getPbufferRenderToTextureRectangle(); + boolean useFloat = capabilities.getPbufferFloatingPointBuffers(); boolean ati = false; if (useFloat) { |