mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-23 11:33:34 +00:00
Add accessors for image dimensions
This commit is contained in:
parent
36641c2268
commit
40b479487c
1 changed files with 3 additions and 0 deletions
|
@ -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