From fbcc8cdb554574aa2abbafecb348c32928fd713e Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 9 Apr 2026 11:52:06 +0200 Subject: [PATCH] Update shapes_top_down_lights.c --- 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 4a2ea0dcd..0f76d2e40 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((int)lights[slot].position.x, (int)lights[slot].position.y, lights[slot].outerRadius, ColorAlpha(WHITE, 0), WHITE); + if (lights[slot].valid) DrawCircleGradient(lights[slot].position, lights[slot].outerRadius, ColorAlpha(WHITE, 0), WHITE); rlDrawRenderBatchActive();