mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-13 23:08:14 +00:00
Reviewed some warnings
This commit is contained in:
@@ -815,17 +815,17 @@ void DrawRectangleLines(int posX, int posY, int width, int height, Color color)
|
||||
{
|
||||
rlBegin(RL_LINES);
|
||||
rlColor4ub(color.r, color.g, color.b, color.a);
|
||||
rlVertex2f(posX, posY);
|
||||
rlVertex2f(posX + width, posY + 1);
|
||||
rlVertex2f((float)posX, (float)posY);
|
||||
rlVertex2f((float)posX + (float)width, (float)posY + 1);
|
||||
|
||||
rlVertex2f(posX + width, posY + 1);
|
||||
rlVertex2f(posX + width, posY + height);
|
||||
rlVertex2f((float)posX + (float)width, (float)posY + 1);
|
||||
rlVertex2f((float)posX + (float)width, (float)posY + (float)height);
|
||||
|
||||
rlVertex2f(posX + width, posY + height);
|
||||
rlVertex2f(posX + 1, posY + height);
|
||||
rlVertex2f((float)posX + (float)width, (float)posY + (float)height);
|
||||
rlVertex2f((float)posX + 1, (float)posY + (float)height);
|
||||
|
||||
rlVertex2f(posX + 1, posY + height);
|
||||
rlVertex2f(posX + 1, posY + 1);
|
||||
rlVertex2f((float)posX + 1, (float)posY + (float)height);
|
||||
rlVertex2f((float)posX + 1, (float)posY + 1);
|
||||
rlEnd();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user