Bug 859 - TileRenderer shall detect zero columns and rows in eot() where beginTile() shall throw an EOT IllegalStateException to avoid division by zero
Summary: TileRenderer shall detect zero columns and rows in eot() where beginTile() sh...
Status: RESOLVED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 2
Hardware: All all
: --- normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2013-10-12 18:33 CEST by Sven Gothel
Modified: 2013-10-12 19:59 CEST (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
2634ce35031be322cb355e4d6055aace6a2c0619
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2013-10-12 18:33:15 CEST
If we have zero columns or rows, beginTile() will cause a division by zero exception.

EOT = end of tile-rendering

Refine eot() spec to allow caller to detect EOT properly.
beginTile() shall throw an IllegalStateException.

beginTile() caller shall issue reset() if eot() is reached 
to be able to perform tile-rendering again - if so desired.