summaryrefslogtreecommitdiffstats
path: root/src/demos/hwShadowmapsSimple
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-03-13 12:10:29 +0000
committerSven Gothel <[email protected]>2009-03-13 12:10:29 +0000
commit8417ded5c1f892b58a4608ff248842c8aed4026a (patch)
treef9ce74136307bd122c72cec3babd03c26052e9df /src/demos/hwShadowmapsSimple
parente03aaaf1b14cc40cb2c8f2158acf02390c4fafe6 (diff)
Adapt to JOGL nwi package changes
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@320 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos/hwShadowmapsSimple')
-rw-r--r--src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java b/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java
index 71dd982..f287053 100644
--- a/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java
+++ b/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java
@@ -60,7 +60,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.GLDrawableFactory;
import javax.media.opengl.GLEventListener;
import javax.media.opengl.GLException;
@@ -270,7 +270,7 @@ public class HWShadowmapsSimple extends Demo {
gl.glEnable(GL2.GL_DEPTH_TEST);
// init pbuffer
- GLCapabilities caps = new GLCapabilities();
+ NWCapabilities caps = new NWCapabilities();
caps.setDoubleBuffered(false);
if (!GLDrawableFactory.getFactory().canCreateGLPbuffer()) {