diff options
Diffstat (limited to 'src/classes/com/sun/opengl/impl/x11/glx/X11OffscreenGLXDrawable.java')
-rw-r--r-- | src/classes/com/sun/opengl/impl/x11/glx/X11OffscreenGLXDrawable.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/classes/com/sun/opengl/impl/x11/glx/X11OffscreenGLXDrawable.java b/src/classes/com/sun/opengl/impl/x11/glx/X11OffscreenGLXDrawable.java index 9289d7c02..77aa03a83 100644 --- a/src/classes/com/sun/opengl/impl/x11/glx/X11OffscreenGLXDrawable.java +++ b/src/classes/com/sun/opengl/impl/x11/glx/X11OffscreenGLXDrawable.java @@ -70,7 +70,7 @@ public class X11OffscreenGLXDrawable extends X11GLXDrawable { XVisualInfo vis = chooseVisual(false); int bitsPerPixel = vis.depth(); - getFactory().lockToolkit(); + getFactoryImpl().lockToolkit(); try { int screen = X11Lib.DefaultScreen(dpy); nw.setScreenIndex(screen); @@ -94,7 +94,7 @@ public class X11OffscreenGLXDrawable extends X11GLXDrawable { } setChosenGLCapabilities(((X11GLXDrawableFactory)getFactory()).xvi2GLCapabilities(dpy, vis)); } finally { - getFactory().unlockToolkit(); + getFactoryImpl().unlockToolkit(); } } @@ -111,7 +111,7 @@ public class X11OffscreenGLXDrawable extends X11GLXDrawable { } // Must destroy pixmap and GLXPixmap - getFactory().lockToolkit(); + getFactoryImpl().lockToolkit(); if (DEBUG) { long cur = GLX.glXGetCurrentContext(); @@ -133,7 +133,7 @@ public class X11OffscreenGLXDrawable extends X11GLXDrawable { display = 0; setChosenGLCapabilities(null); } finally { - getFactory().unlockToolkit(); + getFactoryImpl().unlockToolkit(); } super.destroy(); } |