diff options
Diffstat (limited to 'src/demos/es2/openmax/MovieCube.java')
-rwxr-xr-x | src/demos/es2/openmax/MovieCube.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/demos/es2/openmax/MovieCube.java b/src/demos/es2/openmax/MovieCube.java index 75fba14..94e4044 100755 --- a/src/demos/es2/openmax/MovieCube.java +++ b/src/demos/es2/openmax/MovieCube.java @@ -35,7 +35,6 @@ package demos.es2.openmax; // import demos.es1.cube.Cube; -import javax.media.nwi.*; import javax.media.opengl.*; import javax.media.opengl.util.*; import javax.media.opengl.sub.fixed.*; @@ -88,7 +87,7 @@ public class MovieCube implements MouseListener, GLEventListener, OMXEventListen System.err.println("MovieCube.run()"); GLProfile.setProfileGL2ES2(); try { - NWCapabilities caps = new NWCapabilities(); + GLCapabilities caps = new GLCapabilities(); // For emulation library, use 16 bpp caps.setRedBits(5); caps.setGreenBits(6); |