Skip to content

Commit 96cfab9

Browse files
authored
Merge pull request #177 from Mojert/master
raylib::Window::GetSize() is now a const method
2 parents 1e700ad + 1a74c49 commit 96cfab9

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)