From 8417ded5c1f892b58a4608ff248842c8aed4026a Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Fri, 13 Mar 2009 12:10:29 +0000
Subject: 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
---
 src/demos/es1/cube/CubeImmModeSink.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/demos/es1/cube/CubeImmModeSink.java')

diff --git a/src/demos/es1/cube/CubeImmModeSink.java b/src/demos/es1/cube/CubeImmModeSink.java
index c85fed0..c7536d2 100644
--- a/src/demos/es1/cube/CubeImmModeSink.java
+++ b/src/demos/es1/cube/CubeImmModeSink.java
@@ -31,6 +31,7 @@
  */
 package demos.es1.cube;
 
+import javax.media.nwi.*;
 import javax.media.opengl.*;
 import javax.media.opengl.sub.fixed.*;
 import javax.media.opengl.util.*;
@@ -399,7 +400,7 @@ public class CubeImmModeSink implements GLEventListener {
         System.err.println("CubeImmModeSink.run()");
         GLProfile.setProfileGLAny();
         try {
-            GLCapabilities caps = new GLCapabilities();
+            NWCapabilities caps = new NWCapabilities();
             // For emulation library, use 16 bpp
             caps.setRedBits(5);
             caps.setGreenBits(6);
-- 
cgit v1.2.3