diff options
Diffstat (limited to 'src/demos/fullscreen/GearsFullscreen2.java')
-rwxr-xr-x | src/demos/fullscreen/GearsFullscreen2.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/fullscreen/GearsFullscreen2.java b/src/demos/fullscreen/GearsFullscreen2.java index 1a5086c..902b3bc 100755 --- a/src/demos/fullscreen/GearsFullscreen2.java +++ b/src/demos/fullscreen/GearsFullscreen2.java @@ -53,7 +53,7 @@ public class GearsFullscreen2 { if (newMode != null) { frame.setUndecorated(true); } - GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities()); + GLCanvas canvas = new GLCanvas(); canvas.addGLEventListener(new Gears()); canvas.addGLEventListener(new FullscreenWorkaround(initWidth, initHeight)); |