From c283b731b0c1bd423db45546867af969d91b49a1 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Mon, 25 Nov 2024 13:35:49 -0500 Subject: [PATCH] Have Texture::GetSize() return a raylib::Vector2 --- include/TextureUnmanaged.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/TextureUnmanaged.hpp b/include/TextureUnmanaged.hpp index a7ce9aaa..f8bca8a8 100644 --- a/include/TextureUnmanaged.hpp +++ b/include/TextureUnmanaged.hpp @@ -89,7 +89,7 @@ class TextureUnmanaged : public ::Texture { /** * Retrieve the width and height of the texture. */ - ::Vector2 GetSize() const { return {static_cast(width), static_cast(height)}; } + Vector2 GetSize() const { return {static_cast(width), static_cast(height)}; } /** * Load texture from image data