From 52f348c1a58e12c16bea87cf6951be344b8663ed Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Fri, 13 Sep 2013 19:47:12 +0200
Subject: AWTTilePainter: Fix null clip-rect (consider scaling); Fix non
 GL-oriented drawable, skip vertical flip and use 1:1 y-coord.

---
 src/jogl/classes/javax/media/opengl/awt/GLJPanel.java | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/jogl/classes/javax/media/opengl/awt/GLJPanel.java')

diff --git a/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java b/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java
index 84e3c39b4..02f4e54a7 100644
--- a/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java
+++ b/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java
@@ -564,6 +564,7 @@ public class GLJPanel extends JPanel implements AWTGLAutoDrawable, WindowClosing
                   GLDrawableUtil.swapGLContextAndAllGLEventListener(GLJPanel.this, printGLAD);
               }
           }
+          printAWTTiles.setIsGLOriented(printGLAD.isGLOriented());
           printAWTTiles.renderer.setTileSize(printGLAD.getWidth(), printGLAD.getHeight(), 0);
           printAWTTiles.renderer.attachToAutoDrawable(printGLAD);
           if( DEBUG ) {
-- 
cgit v1.2.3