diff options
Diffstat (limited to 'src/classes/com/sun/javafx/newt')
-rw-r--r-- | src/classes/com/sun/javafx/newt/GLWindow.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/com/sun/javafx/newt/GLWindow.java b/src/classes/com/sun/javafx/newt/GLWindow.java index b48d64ed2..e2fa4c67e 100644 --- a/src/classes/com/sun/javafx/newt/GLWindow.java +++ b/src/classes/com/sun/javafx/newt/GLWindow.java @@ -226,7 +226,7 @@ public class GLWindow extends Window implements GLAutoDrawable { public void setVisible(boolean visible) { window.setVisible(visible); if (visible && context == null) { - factory = GLDrawableFactory.getFactory(window); + factory = GLDrawableFactory.getFactory(); drawable = factory.createGLDrawable(window, window.getChosenCapabilities(), null); window.setVisible(true); drawable.setRealized(true); |