Skip to content

Commit

Permalink
small casting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gulrak committed Jan 20, 2025
1 parent d606e9d commit d84d5b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external/rlguipp/rlguipp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2028,7 +2028,7 @@ inline void drawRectClipped(Rectangle rect, Color col)

void DrawRectangleClipped(int posX, int posY, int width, int height, Color color)
{
drawRectClipped(Rectangle(posX, posY, width, height), color);
drawRectClipped({(float)posX, (float)posY, (float)width, (float)height}, color);
}

}

0 comments on commit d84d5b9

Please sign in to comment.