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