diff options
| author | Ray <[email protected]> | 2024-06-25 21:39:43 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2024-06-25 21:39:43 +0200 |
| commit | 4239e66c55cc36ac5fe4c764d786638b4cece312 (patch) | |
| tree | a9a6a5d8aef0ec28209883d81415356e57cd79de /src | |
| parent | dfabbd8ba8342169247685c294ae09f882f48e2c (diff) | |
| download | raylib-4239e66c55cc36ac5fe4c764d786638b4cece312.tar.gz raylib-4239e66c55cc36ac5fe4c764d786638b4cece312.zip | |
Update rshapes.c
Diffstat (limited to 'src')
| -rw-r--r-- | src/rshapes.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rshapes.c b/src/rshapes.c index a08cb49e..b119f50e 100644 --- a/src/rshapes.c +++ b/src/rshapes.c @@ -178,7 +178,6 @@ void DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, Color colo { rlBegin(RL_LINES); rlColor4ub(color.r, color.g, color.b, color.a); - // WARNING: Adding 0.5f offset to "center" point on selected pixel rlVertex2f((float)startPosX, (float)startPosY); rlVertex2f((float)endPosX, (float)endPosY); rlEnd(); @@ -189,7 +188,6 @@ void DrawLineV(Vector2 startPos, Vector2 endPos, Color color) { rlBegin(RL_LINES); rlColor4ub(color.r, color.g, color.b, color.a); - // WARNING: Adding 0.5f offset to "center" point on selected pixel rlVertex2f(startPos.x, startPos.y); rlVertex2f(endPos.x, endPos.y); rlEnd(); |
