diff --git a/src/java/org/lwjgl/opengl/AWTGLCanvas.java b/src/java/org/lwjgl/opengl/AWTGLCanvas.java index fddf0ab3..b07a02d2 100644 --- a/src/java/org/lwjgl/opengl/AWTGLCanvas.java +++ b/src/java/org/lwjgl/opengl/AWTGLCanvas.java @@ -115,6 +115,7 @@ public class AWTGLCanvas extends Canvas { * Destroy the OpenGL context. This occurs when the component is no longer displayable. */ private synchronized void destroyContext() throws LWJGLException { + nDestroyContext(); } private native void nDestroyContext() throws LWJGLException;