diff options
author | Sven Gothel <sgothel@jausoft.com> | 2013-09-05 16:18:37 +0200 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2013-09-05 16:18:37 +0200 |
commit | cd2b491d593b7dc4deecf023c359a0385d9bf242 (patch) | |
tree | 3088d9aa1aadd3a9a5c86d56c8727942c0bb1216 /src/jogl/classes/com/jogamp | |
parent | 9450900c2178db617ee786d8795146bf4c6aa63c (diff) |
GLCanvas Printing WIP - Add TestTiledPrintingGearsAWT
Diffstat (limited to 'src/jogl/classes/com/jogamp')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/util/RandomTileRenderer.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/RandomTileRenderer.java b/src/jogl/classes/com/jogamp/opengl/util/RandomTileRenderer.java index 4fcf0b6cc..be73ec4d5 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/RandomTileRenderer.java +++ b/src/jogl/classes/com/jogamp/opengl/util/RandomTileRenderer.java @@ -74,9 +74,10 @@ public class RandomTileRenderer extends TileRendererBase { * @throws IllegalArgumentException is tile x/y are < 0 or tile size is <= 0x0 */ public void setTileRect(int tX, int tY, int tWidth, int tHeight) throws IllegalStateException, IllegalArgumentException { + /** FIXME if( 0 > tX || 0 > tX ) { throw new IllegalArgumentException("Tile pos must be >= 0/0"); - } + } */ if( 0 >= tWidth || 0 >= tHeight ) { throw new IllegalArgumentException("Tile size must be > 0x0"); } |