diff --git a/examples/shapes/shapes_basic_shapes.c b/examples/shapes/shapes_basic_shapes.c index 77f2246f0..d14e45fe0 100644 --- a/examples/shapes/shapes_basic_shapes.c +++ b/examples/shapes/shapes_basic_shapes.c @@ -50,7 +50,7 @@ int main(void) // Circle shapes and lines DrawCircle(screenWidth/5, 120, 35, DARKBLUE); - DrawCircleGradient(screenWidth/5, 220, 60, GREEN, SKYBLUE); + DrawCircleGradient((Vector2){ screenWidth/5.0f, 220.0f }, 60, GREEN, SKYBLUE); DrawCircleLines(screenWidth/5, 340, 80, DARKBLUE); DrawEllipse(screenWidth/5, 120, 25, 20, YELLOW); DrawEllipseLines(screenWidth/5, 120, 30, 25, YELLOW);