summaryrefslogtreecommitdiffstats
path: root/src/newt/classes/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-09-10 23:06:38 +0200
committerSven Gothel <[email protected]>2013-09-10 23:06:38 +0200
commit597ca0edc8ba536e82494b56bd1bbd6f8290efa6 (patch)
tree92f14318f9bece1d3f2f8c92f8b3bed294539933 /src/newt/classes/com
parentbadc13213bcf952830afe606ba71683540aba5a3 (diff)
AWT Printing: AWTTilePainter needs to handle null clip!
Diffstat (limited to 'src/newt/classes/com')
-rw-r--r--src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java b/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
index 02bc17c79..87ec5e9c1 100644
--- a/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
+++ b/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
@@ -584,7 +584,7 @@ public class NewtCanvasAWT extends java.awt.Canvas implements WindowClosingProto
}
final Graphics2D g2d = (Graphics2D)graphics;
- printAWTTiles.setupGraphics2DAndClipBounds(g2d);
+ printAWTTiles.setupGraphics2DAndClipBounds(g2d, getWidth(), getHeight());
try {
final TileRenderer tileRenderer = printAWTTiles.renderer;
if( DEBUG ) {