mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-08 06:25:31 +00:00
Add accessors for image dimensions
This commit is contained in:
parent
36641c2268
commit
40b479487c
|
@ -74,6 +74,9 @@ class Image {
|
|||
Pixel &operator()(uint32 i, uint32 j);
|
||||
const Pixel &operator()(uint32 i, uint32 j) const;
|
||||
|
||||
uint32 GetWidth() const { return m_Width; }
|
||||
uint32 GetHeight() const { return m_Height; }
|
||||
|
||||
private:
|
||||
uint32 m_Width;
|
||||
uint32 m_Height;
|
||||
|
|
Loading…
Reference in a new issue