From dd18228ea67b24821570fd1c2f7053d7915b9cd0 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Thu, 16 Feb 2006 03:29:11 +0000 Subject: Renamed "offscreen" capability bits in GLCapabilities to "pbuffer" capability bits to be more explicit about how they are to be used; no objections from JSR-231 expert group git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@616 232f8b59-042b-4e1e-8c03-345bb8c30851 --- .../opengl/impl/windows/WindowsPbufferGLDrawable.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/classes/com/sun/opengl/impl/windows/WindowsPbufferGLDrawable.java') 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) { -- cgit v1.2.3