Merge pull request #177 from Mojert/master

raylib::Window::GetSize() is now a const method
This commit is contained in:
Rob Loach
2022-04-14 13:52:32 -04:00
committed by GitHub

View File

@@ -266,7 +266,7 @@ class Window {
/**
* Get the screen's width and height.
*/
inline Vector2 GetSize() {
inline Vector2 GetSize() const {
return {static_cast<float>(GetWidth()), static_cast<float>(GetHeight())};
}