aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/XPM.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/XPM.h')
-rw-r--r--src/XPM.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XPM.h b/src/XPM.h
index 31753da18..f2298066c 100644
--- a/src/XPM.h
+++ b/src/XPM.h
@@ -51,8 +51,8 @@ public:
int GetHeight() const noexcept { return height; }
int GetWidth() const noexcept { return width; }
float GetScale() const noexcept { return scale; }
- float GetScaledHeight() const noexcept { return height / scale; }
- float GetScaledWidth() const noexcept { return width / scale; }
+ float GetScaledHeight() const noexcept;
+ float GetScaledWidth() const noexcept;
int CountBytes() const noexcept;
const unsigned char *Pixels() const noexcept;
void SetPixel(int x, int y, ColourRGBA colour) noexcept;