diff options
author | Kenneth Russel <[email protected]> | 2006-02-16 03:31:00 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2006-02-16 03:31:00 +0000 |
commit | f98770989366c7271ff5e95b5d17d58df161aebe (patch) | |
tree | 4a3034cd41ef18399d94a15019098f6d24d75e65 | |
parent | ae9a0d04fb865aecbec78b821e1d89d5e59a5437 (diff) |
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-demos/trunk@173 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
-rwxr-xr-x | src/demos/hdr/HDR.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/hdr/HDR.java b/src/demos/hdr/HDR.java index ea0fbfc..5bf64dd 100755 --- a/src/demos/hdr/HDR.java +++ b/src/demos/hdr/HDR.java @@ -274,7 +274,7 @@ public class HDR extends Demo { GLCapabilities caps = new GLCapabilities(); caps.setDoubleBuffered(false); - caps.setOffscreenFloatingPointBuffers(true); + caps.setPbufferFloatingPointBuffers(true); caps.setRedBits(floatBits); caps.setGreenBits(floatBits); caps.setBlueBits(floatBits); @@ -314,7 +314,7 @@ public class HDR extends Demo { blur2_pbuffer.addGLEventListener(new Blur2PbufferListener()); gl.glGenTextures(1, tmp, 0); blur2_pbuffer_tex = tmp[0]; - caps.setOffscreenFloatingPointBuffers(false); + caps.setPbufferFloatingPointBuffers(false); caps.setRedBits(8); caps.setGreenBits(8); caps.setBlueBits(8); |