diff options
Diffstat (limited to 'src/classes/javax')
-rw-r--r-- | src/classes/javax/media/opengl/GLCanvas.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/classes/javax/media/opengl/GLCanvas.java b/src/classes/javax/media/opengl/GLCanvas.java index 42f3e68f3..73b3e51bf 100644 --- a/src/classes/javax/media/opengl/GLCanvas.java +++ b/src/classes/javax/media/opengl/GLCanvas.java @@ -68,7 +68,7 @@ public class GLCanvas extends Canvas implements GLAutoDrawable { private GLDrawableHelper drawableHelper = new GLDrawableHelper(); private GLDrawable drawable; - private GLContextImpl context; + private GLContext context; private boolean autoSwapBufferMode = true; private boolean sendReshape = false; @@ -140,7 +140,7 @@ public class GLCanvas extends Canvas implements GLAutoDrawable { } if (!Beans.isDesignTime()) { drawable = GLDrawableFactory.getFactory().getGLDrawable(this, capabilities, chooser); - context = (GLContextImpl) drawable.createContext(shareWith); + context = drawable.createContext(shareWith); context.setSynchronized(true); } } |