summaryrefslogtreecommitdiffstats
path: root/src/demos/hdr
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/hdr')
-rwxr-xr-xsrc/demos/hdr/HDR.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/hdr/HDR.java b/src/demos/hdr/HDR.java
index d86b2ff..5aedd53 100755
--- a/src/demos/hdr/HDR.java
+++ b/src/demos/hdr/HDR.java
@@ -30,7 +30,7 @@ import javax.media.opengl.GL;
import javax.media.opengl.GL2ES1;
import javax.media.opengl.GL2;
import javax.media.opengl.GLAutoDrawable;
-import javax.media.opengl.GLCapabilities;
+import javax.media.nwi.NWCapabilities;
import javax.media.opengl.GLContext;
import javax.media.opengl.GLDrawableFactory;
import javax.media.opengl.GLEventListener;
@@ -307,7 +307,7 @@ public class HDR extends Demo {
// Workaround for apparent bug when not using render-to-texture-rectangle
int floatDepthBits = 1;
- GLCapabilities caps = new GLCapabilities();
+ NWCapabilities caps = new NWCapabilities();
caps.setDoubleBuffered(false);
caps.setPbufferFloatingPointBuffers(true);
caps.setRedBits(floatBits);