Skip to content

Commit

Permalink
Have Texture::GetSize() return a raylib::Vector2
Browse files Browse the repository at this point in the history
  • Loading branch information
RobLoach committed Dec 8, 2024
1 parent cc3e2e0 commit c283b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/TextureUnmanaged.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class TextureUnmanaged : public ::Texture {
/**
* Retrieve the width and height of the texture.
*/
::Vector2 GetSize() const { return {static_cast<float>(width), static_cast<float>(height)}; }
Vector2 GetSize() const { return {static_cast<float>(width), static_cast<float>(height)}; }

/**
* Load texture from image data
Expand Down

0 comments on commit c283b73

Please sign in to comment.