diff options
Diffstat (limited to 'src/demos/particles/engine/GLComponent.java')
-rwxr-xr-x | src/demos/particles/engine/GLComponent.java | 5 |
1 files changed, 3 insertions, 2 deletions
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; |