diff --git a/src/rshapes.c b/src/rshapes.c index 55331395..07c685b6 100644 --- a/src/rshapes.c +++ b/src/rshapes.c @@ -1141,8 +1141,7 @@ void DrawRectangleRoundedLinesEx(Rectangle rec, float roundness, int segments, f } float stepLength = 90.0f/(float)segments; - const float outerRadius = radius + lineThick - 0.5f; - const float innerRadius = radius - 0.5f; + const float outerRadius = radius + lineThick, innerRadius = radius; /* Quick sketch to make sense of all of this,