summaryrefslogtreecommitdiffstats
path: root/src/demos/es1/cubefbo/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es1/cubefbo/Main.java')
-rwxr-xr-xsrc/demos/es1/cubefbo/Main.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/demos/es1/cubefbo/Main.java b/src/demos/es1/cubefbo/Main.java
index c9abaf2..f245733 100755
--- a/src/demos/es1/cubefbo/Main.java
+++ b/src/demos/es1/cubefbo/Main.java
@@ -1,6 +1,7 @@
package demos.es1.cubefbo;
import java.nio.*;
+import javax.media.nwi.*;
import javax.media.opengl.*;
import com.sun.javafx.newt.*;
@@ -41,7 +42,7 @@ public class Main implements MouseListener {
GLProfile.setProfileGLAny();
try {
// Hook this into EGL
- GLCapabilities caps = new GLCapabilities();
+ NWCapabilities caps = new NWCapabilities();
// For emulation library, use 16 bpp
caps.setRedBits(5);
caps.setGreenBits(6);