diff options
Diffstat (limited to 'src/demos/printext/PrintExt.java')
-rwxr-xr-x | src/demos/printext/PrintExt.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/printext/PrintExt.java b/src/demos/printext/PrintExt.java index 4d21ee9..d73981a 100755 --- a/src/demos/printext/PrintExt.java +++ b/src/demos/printext/PrintExt.java @@ -12,7 +12,7 @@ import com.sun.opengl.utils.*; public class PrintExt { public static void main(String[] args) { Frame frame = new Frame(); - GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities()); + GLCanvas canvas = new GLCanvas(); canvas.addGLEventListener(new Listener()); frame.setUndecorated(true); frame.add(canvas); |