From f98770989366c7271ff5e95b5d17d58df161aebe Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Thu, 16 Feb 2006 03:31:00 +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-demos/trunk@173 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4 --- src/demos/hdr/HDR.java | 4 ++-- 1 file 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); -- cgit v1.2.3