mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-13 23:08:14 +00:00
REVIEWED: DrawRectangleLines()
pixel offset
This could be actually very tricky and GPU/drivers dependant...
This commit is contained in:
@@ -813,7 +813,7 @@ 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 + 1, posY + 1);
|
||||
rlVertex2f(posX, posY);
|
||||
rlVertex2f(posX + width, posY + 1);
|
||||
|
||||
rlVertex2f(posX + width, posY + 1);
|
||||
|
Reference in New Issue
Block a user