summaryrefslogtreecommitdiffstats
path: root/src/demos/applets/GearsApplet.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/applets/GearsApplet.java')
-rwxr-xr-xsrc/demos/applets/GearsApplet.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/demos/applets/GearsApplet.java b/src/demos/applets/GearsApplet.java
index 811eafe..73bef96 100755
--- a/src/demos/applets/GearsApplet.java
+++ b/src/demos/applets/GearsApplet.java
@@ -12,12 +12,10 @@ import javax.media.opengl.GLAnimatorControl;
referenced from a web page via an <applet> tag. */
public class GearsApplet extends Applet {
- static {
- GLProfile.initSingleton();
- }
private GLAnimatorControl animator;
public void init() {
+ GLProfile.initSingleton(false);
setLayout(new BorderLayout());
GLCanvas canvas = new GLCanvas();
canvas.addGLEventListener(new Gears());