mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
Image: Support for >2G pixel images
This commit is contained in:
parent
ebacf8692e
commit
4eb29f2ed4
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ public:
|
|||
Size GetSize() const { return size; }
|
||||
int GetWidth() const { return size.cx; }
|
||||
int GetHeight() const { return size.cy; }
|
||||
int GetLength() const { return size.cx * size.cy; }
|
||||
size_t GetLength() const { return (size_t)size.cx * size.cy; }
|
||||
|
||||
RGBA *operator[](int i) { return Line(i); }
|
||||
const RGBA *operator[](int i) const { return Line(i); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue