summaryrefslogtreecommitdiffstats
path: root/src/demos/es1/angeles/Main.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/angeles/Main.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/angeles/Main.java')
-rwxr-xr-xsrc/demos/es1/angeles/Main.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/demos/es1/angeles/Main.java b/src/demos/es1/angeles/Main.java
index 9a97305..30aed45 100755
--- a/src/demos/es1/angeles/Main.java
+++ b/src/demos/es1/angeles/Main.java
@@ -1,7 +1,6 @@
package demos.es1.angeles;
import java.nio.*;
-import javax.media.nwi.*;
import javax.media.opengl.*;
import com.sun.javafx.newt.*;
import com.sun.javafx.newt.opengl.*;
@@ -43,7 +42,7 @@ public class Main implements WindowListener, MouseListener {
GLProfile.setProfileGLAny();
try {
// Hook this into EGL
- NWCapabilities caps = new NWCapabilities();
+ GLCapabilities caps = new GLCapabilities();
// For emulation library, use 16 bpp
caps.setRedBits(5);
caps.setGreenBits(6);