Skip to content

Commit 1a74c49

Browse files
committed
raylib::Window::GetSize() is now a const method
1 parent 1e700ad commit 1a74c49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/Window.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ class Window {
266266
/**
267267
* Get the screen's width and height.
268268
*/
269-
inline Vector2 GetSize() {
269+
inline Vector2 GetSize() const {
270270
return {static_cast<float>(GetWidth()), static_cast<float>(GetHeight())};
271271
}
272272

0 commit comments

Comments
 (0)