Skip to content

Commit

Permalink
BLUGA: Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
TTENSHII committed Nov 5, 2023
1 parent de198cf commit ec26d67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ namespace Systems {
Maths::intToFloatConservingDecimals(position.y));
size = calculateSize(sprite);
sprite.drawPro(
Raylib::Rectangle(0.F, 0.F, sprite.getTextureWidth(), sprite.getTextureHeight()),
Raylib::Rectangle(0.F, 0.F, static_cast<float>(sprite.getTextureWidth()), static_cast<float>(sprite.getTextureHeight())),
Raylib::Rectangle(spritePos.x, spritePos.y, size.x, size.y),
Raylib::Vector2(origin.x, origin.y),
rotation,
Expand Down

0 comments on commit ec26d67

Please sign in to comment.