summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl/swt
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/swt')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java b/src/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java
index 0320c63ae..4ba4def9a 100644
--- a/src/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java
+++ b/src/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java
@@ -207,7 +207,7 @@ public class GLCanvas extends Canvas implements GLAutoDrawable {
// so we can continue with the destruction.
try {
if( !GLCanvas.this.isDisposed() ) {
- helper.disposeGL(GLCanvas.this, context);
+ helper.disposeGL(GLCanvas.this, context, true);
} else {
context.destroy();
}