summaryrefslogtreecommitdiffstats
path: root/src/demos/es1/RedSquare.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2009-03-19 00:33:27 +0000
committerKenneth Russel <[email protected]>2009-03-19 00:33:27 +0000
commit4433fd7343f1161a4def7152cff68d3fb8fcbb5d (patch)
treeca6b5beac19214147b2fc9e81b5cb98b4f9b7cbf /src/demos/es1/RedSquare.java
parentaefbc0323da190835bc146709bf560b3e3181b39 (diff)
Updated demos after refactoring of OpenGL capability bits back into GLCapabilities
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@323 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos/es1/RedSquare.java')
-rwxr-xr-xsrc/demos/es1/RedSquare.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/demos/es1/RedSquare.java b/src/demos/es1/RedSquare.java
index 1de39c6..f5bc050 100755
--- a/src/demos/es1/RedSquare.java
+++ b/src/demos/es1/RedSquare.java
@@ -1,7 +1,6 @@
package demos.es1;
import java.nio.*;
-import javax.media.nwi.*;
import javax.media.opengl.*;
import javax.media.opengl.sub.fixed.*;
import javax.media.opengl.util.*;
@@ -66,7 +65,7 @@ public class RedSquare implements WindowListener, KeyListener, MouseListener, GL
System.err.println("RedSquare.run()");
GLProfile.setProfileGLAny();
try {
- NWCapabilities caps = new NWCapabilities();
+ GLCapabilities caps = new GLCapabilities();
// For emulation library, use 16 bpp
caps.setRedBits(5);
caps.setGreenBits(6);