mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-28 07:04:20 +01: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 New Issue
Block a user