Skip to content

Commit c283b73

Browse files
committed
Have Texture::GetSize() return a raylib::Vector2
1 parent cc3e2e0 commit c283b73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/TextureUnmanaged.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class TextureUnmanaged : public ::Texture {
8989
/**
9090
* Retrieve the width and height of the texture.
9191
*/
92-
::Vector2 GetSize() const { return {static_cast<float>(width), static_cast<float>(height)}; }
92+
Vector2 GetSize() const { return {static_cast<float>(width), static_cast<float>(height)}; }
9393

9494
/**
9595
* Load texture from image data

0 commit comments

Comments
 (0)