summaryrefslogtreecommitdiffstats
path: root/src/demos/es1/Info.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es1/Info.java')
-rwxr-xr-xsrc/demos/es1/Info.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/demos/es1/Info.java b/src/demos/es1/Info.java
index 13cf038..7a675a7 100755
--- a/src/demos/es1/Info.java
+++ b/src/demos/es1/Info.java
@@ -1,7 +1,6 @@
package demos.es1;
import java.nio.*;
-import javax.media.nwi.*;
import javax.media.opengl.*;
import javax.media.opengl.util.*;
import javax.media.opengl.glu.*;
@@ -19,7 +18,7 @@ public class Info implements GLEventListener {
System.err.println("Info.run()");
GLProfile.setProfileGL2ES1();
try {
- NWCapabilities caps = new NWCapabilities();
+ GLCapabilities caps = new GLCapabilities();
// For emulation library, use 16 bpp
caps.setRedBits(5);
caps.setGreenBits(6);