aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/impl/windows/wgl/WindowsOffscreenWGLDrawable.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/com/sun/opengl/impl/windows/wgl/WindowsOffscreenWGLDrawable.java')
-rw-r--r--src/classes/com/sun/opengl/impl/windows/wgl/WindowsOffscreenWGLDrawable.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/classes/com/sun/opengl/impl/windows/wgl/WindowsOffscreenWGLDrawable.java b/src/classes/com/sun/opengl/impl/windows/wgl/WindowsOffscreenWGLDrawable.java
index 000278070..8dded7069 100644
--- a/src/classes/com/sun/opengl/impl/windows/wgl/WindowsOffscreenWGLDrawable.java
+++ b/src/classes/com/sun/opengl/impl/windows/wgl/WindowsOffscreenWGLDrawable.java
@@ -63,7 +63,7 @@ public class WindowsOffscreenWGLDrawable extends WindowsWGLDrawable {
}
private void create() {
- getFactory().lockToolkit();
+ getFactoryImpl().lockToolkit();
try {
NullWindow nw = (NullWindow) getNativeWindow();
GLCapabilities capabilities = getRequestedGLCapabilities();
@@ -113,12 +113,12 @@ public class WindowsOffscreenWGLDrawable extends WindowsWGLDrawable {
choosePixelFormat(false);
} finally {
- getFactory().unlockToolkit();
+ getFactoryImpl().unlockToolkit();
}
}
public void destroy() {
- getFactory().lockToolkit();
+ getFactoryImpl().lockToolkit();
try {
NullWindow nw = (NullWindow) getNativeWindow();
if (nw.getSurfaceHandle() != 0) {
@@ -132,7 +132,7 @@ public class WindowsOffscreenWGLDrawable extends WindowsWGLDrawable {
setChosenGLCapabilities(null);
}
} finally {
- getFactory().unlockToolkit();
+ getFactoryImpl().unlockToolkit();
}
super.destroy();
}