diff options
| author | Ray <[email protected]> | 2019-05-08 18:33:09 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2019-05-08 18:33:09 +0200 |
| commit | 97c8a28aaac8d2ac8689d18a619d32107d6b96f7 (patch) | |
| tree | f60e924ba3a202a3472d8948f0e2a300143b56bf /src/shapes.c | |
| parent | ecea95f50f8d413382fff7d3df568e2e3fd6cdb1 (diff) | |
| download | raylib-97c8a28aaac8d2ac8689d18a619d32107d6b96f7.tar.gz raylib-97c8a28aaac8d2ac8689d18a619d32107d6b96f7.zip | |
Remove trail spaces
Diffstat (limited to 'src/shapes.c')
| -rw-r--r-- | src/shapes.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shapes.c b/src/shapes.c index 93b332f5..64beb8ca 100644 --- a/src/shapes.c +++ b/src/shapes.c @@ -777,9 +777,9 @@ void DrawRectangleRounded(Rectangle rec, float roundness, int segments, Color co #if defined(SUPPORT_QUADS_DRAW_MODE) if (rlCheckBufferLimit(16*segments/2 + 5*4)) rlglDraw(); - + rlEnableTexture(GetShapesTexture().id); - + rlBegin(RL_QUADS); // Draw all of the 4 corners: [1] Upper Left Corner, [3] Upper Right Corner, [5] Lower Right Corner, [7] Lower Left Corner for (int k = 0; k < 4; ++k) // Hope the compiler is smart enough to unroll this loop @@ -1010,9 +1010,9 @@ void DrawRectangleRoundedLines(Rectangle rec, float roundness, int segments, int { #if defined(SUPPORT_QUADS_DRAW_MODE) if (rlCheckBufferLimit(4*4*segments + 4*4)) rlglDraw(); // 4 corners with 4 vertices for each segment + 4 rectangles with 4 vertices each - + rlEnableTexture(GetShapesTexture().id); - + rlBegin(RL_QUADS); // Draw all of the 4 corners first: Upper Left Corner, Upper Right Corner, Lower Right Corner, Lower Left Corner for (int k = 0; k < 4; ++k) // Hope the compiler is smart enough to unroll this loop |
