From 294e7e8ba085686d0868c942f9b519446e9b96ab Mon Sep 17 00:00:00 2001 From: IvanPostu Date: Sun, 3 May 2026 00:50:09 +0300 Subject: [PATCH] [examples] Adjust call DrawCircleGradient: shapes_top_down_lights --- examples/shapes/shapes_top_down_lights.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/shapes/shapes_top_down_lights.c b/examples/shapes/shapes_top_down_lights.c index 0f76d2e40..8ec1b4d05 100644 --- a/examples/shapes/shapes_top_down_lights.c +++ b/examples/shapes/shapes_top_down_lights.c @@ -341,7 +341,7 @@ static void DrawLightMask(int slot) rlSetBlendMode(BLEND_CUSTOM); // If we are valid, then draw the light radius to the alpha mask - if (lights[slot].valid) DrawCircleGradient(lights[slot].position, lights[slot].outerRadius, ColorAlpha(WHITE, 0), WHITE); + if (lights[slot].valid) DrawCircleGradient(lights[slot].position.x, lights[slot].position.y, lights[slot].outerRadius, ColorAlpha(WHITE, 0), WHITE); rlDrawRenderBatchActive();