diff options
author | Sven Gothel <[email protected]> | 2009-03-13 12:10:29 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-03-13 12:10:29 +0000 |
commit | 8417ded5c1f892b58a4608ff248842c8aed4026a (patch) | |
tree | f9ce74136307bd122c72cec3babd03c26052e9df /src/demos/es1/cube/Cube.java | |
parent | e03aaaf1b14cc40cb2c8f2158acf02390c4fafe6 (diff) |
Adapt to JOGL nwi package changes
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@320 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos/es1/cube/Cube.java')
-rw-r--r-- | src/demos/es1/cube/Cube.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/demos/es1/cube/Cube.java b/src/demos/es1/cube/Cube.java index 63bea14..1ef6aab 100644 --- a/src/demos/es1/cube/Cube.java +++ b/src/demos/es1/cube/Cube.java @@ -32,6 +32,7 @@ package demos.es1.cube; import java.nio.*; +import javax.media.nwi.*; import javax.media.opengl.*; import javax.media.opengl.sub.fixed.*; import javax.media.opengl.util.*; @@ -308,7 +309,7 @@ public class Cube implements GLEventListener { System.err.println("Cube.run()"); GLProfile.setProfileGLAny(); try { - GLCapabilities caps = new GLCapabilities(); + NWCapabilities caps = new NWCapabilities(); // For emulation library, use 16 bpp caps.setRedBits(5); caps.setGreenBits(6); |