diff options
Diffstat (limited to 'src/demos/hdr')
-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); |