summaryrefslogtreecommitdiffstats
path: root/src/demos/fullscreen/GearsFullscreen2.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/fullscreen/GearsFullscreen2.java')
-rwxr-xr-xsrc/demos/fullscreen/GearsFullscreen2.java2
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));