From 8417ded5c1f892b58a4608ff248842c8aed4026a Mon Sep 17 00:00:00 2001 From: Sven Gothel 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/particles/engine/GLComponent.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/demos/particles') diff --git a/src/demos/particles/engine/GLComponent.java b/src/demos/particles/engine/GLComponent.java index b28fcf2..52bf6af 100755 --- a/src/demos/particles/engine/GLComponent.java +++ b/src/demos/particles/engine/GLComponent.java @@ -36,6 +36,7 @@ package demos.particles.engine; +import javax.media.nwi.*; import javax.media.opengl.*; import javax.media.opengl.glu.*; import javax.media.opengl.awt.*; @@ -62,8 +63,8 @@ public class GLComponent extends GLCanvas implements GLEventListener { animator = new FPSAnimator(this, fps); } - private static GLCapabilities getCapabilities() { - GLCapabilities caps = new GLCapabilities(); + private static NWCapabilities getCapabilities() { + NWCapabilities caps = new NWCapabilities(); caps.setDoubleBuffered(true); caps.setHardwareAccelerated(true); return caps; -- cgit v1.2.3