mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-24 09:02:31 +00:00
Add one assert more in ImageIteratorT() ctor
This commit is contained in:
parent
20393c8aaa
commit
858d7ff1b3
@ -80,6 +80,7 @@ namespace raster {
|
|||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
ASSERT(bounds.contains(gfx::Point(x, y)));
|
ASSERT(bounds.contains(gfx::Point(x, y)));
|
||||||
|
ASSERT(image->getBounds().contains(bounds));
|
||||||
}
|
}
|
||||||
|
|
||||||
ImageIteratorT& operator=(const ImageIteratorT& other) {
|
ImageIteratorT& operator=(const ImageIteratorT& other) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user