From 39cd0dfa0e46a3617b51e5b15a5fccedeae77f39 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 1 Oct 2014 04:54:42 +0200 Subject: Bug 1078, Bug 1082: Fix regression (typo), add missing assignment of printGLAD in NewtCanvasAWT.setupPrint() --- src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/newt') 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(); } -- cgit v1.2.3