diff options
Diffstat (limited to 'src/classes/javax/media/opengl/GLCanvas.java')
-rw-r--r-- | src/classes/javax/media/opengl/GLCanvas.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/javax/media/opengl/GLCanvas.java b/src/classes/javax/media/opengl/GLCanvas.java index d555a1df0..979c466c2 100644 --- a/src/classes/javax/media/opengl/GLCanvas.java +++ b/src/classes/javax/media/opengl/GLCanvas.java @@ -171,7 +171,7 @@ public class GLCanvas extends Canvas implements GLAutoDrawable { !Threading.isOpenGLThread()) { Threading.invokeOnOpenGLThread(destroyAction); } else { - context.destroy(); + destroyAction.run(); } } finally { drawable.setRealized(false); |