diff --git a/include/Window.hpp b/include/Window.hpp index 477c4a9..18a224d 100644 --- a/include/Window.hpp +++ b/include/Window.hpp @@ -266,7 +266,7 @@ class Window { /** * Get the screen's width and height. */ - inline Vector2 GetSize() { + inline Vector2 GetSize() const { return {static_cast(GetWidth()), static_cast(GetHeight())}; }