diff options
| author | Ray <[email protected]> | 2020-11-03 23:47:33 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2020-11-03 23:47:33 +0100 |
| commit | 3e1cd487dfe1e1381e1effb71fc069cb4dd8ad20 (patch) | |
| tree | b1f88ab590e601a0932da43e4c780402b46db5a7 /src/shapes.c | |
| parent | f46514b855f5790b9ccef440ce8df2c84ce92415 (diff) | |
| download | raylib-3e1cd487dfe1e1381e1effb71fc069cb4dd8ad20.tar.gz raylib-3e1cd487dfe1e1381e1effb71fc069cb4dd8ad20.zip | |
Remove trailing spaces
Diffstat (limited to 'src/shapes.c')
| -rw-r--r-- | src/shapes.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/shapes.c b/src/shapes.c index 2777cf6c..83eca0ef 100644 --- a/src/shapes.c +++ b/src/shapes.c @@ -619,7 +619,7 @@ void DrawRectangleRec(Rectangle rec, Color color) void DrawRectanglePro(Rectangle rec, Vector2 origin, float rotation, Color color) { if (rlCheckBufferLimit(4)) rlglDraw(); - + rlEnableTexture(GetShapesTexture().id); rlPushMatrix(); @@ -1178,13 +1178,15 @@ void DrawRectangleRoundedLines(Rectangle rec, float roundness, int segments, int angle += stepLength; } } + // And now the remaining 4 lines - for(int i = 0; i < 8; i += 2) + for (int i = 0; i < 8; i += 2) { rlColor4ub(color.r, color.g, color.b, color.a); rlVertex2f(point[i].x, point[i].y); rlVertex2f(point[i + 1].x, point[i + 1].y); } + rlEnd(); } } |
