Minor tweaks
This commit is contained in:
parent
c8313d9ebc
commit
61cfd1afcb
1 changed files with 3 additions and 3 deletions
|
|
@ -337,7 +337,7 @@ void DrawCircleSector(Vector2 center, float radius, float startAngle, float endA
|
|||
}
|
||||
|
||||
// NOTE: In case number of segments is odd, we add one last piece to the cake
|
||||
if (((unsigned int)segments%2) == 1)
|
||||
if ((((unsigned int)segments)%2) == 1)
|
||||
{
|
||||
rlColor4ub(color.r, color.g, color.b, color.a);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue