summaryrefslogtreecommitdiffstats
path: root/src/newt
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-10-01 04:54:42 +0200
committerSven Gothel <[email protected]>2014-10-01 04:54:42 +0200
commit39cd0dfa0e46a3617b51e5b15a5fccedeae77f39 (patch)
tree1260a4bfba26cd8b0061312f294bc350caae72a4 /src/newt
parente7156d4eedb7b62eb2765e2db4010ffd3d0ec9e5 (diff)
Bug 1078, Bug 1082: Fix regression (typo), add missing assignment of printGLAD in NewtCanvasAWT.setupPrint()
Diffstat (limited to 'src/newt')
-rw-r--r--src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java b/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
index e7ef22473..c470f6840 100644
--- a/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
+++ b/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
@@ -684,6 +684,7 @@ public class NewtCanvasAWT extends java.awt.Canvas implements WindowClosingProto
}
}
if( null != offGLAD ) {
+ printGLAD = offGLAD;
GLDrawableUtil.swapGLContextAndAllGLEventListener(glad, printGLAD);
printDrawable = printGLAD.getDelegatedDrawable();
}