Skip to content

Commit fbcc8cd

Browse files
committed
Update shapes_top_down_lights.c
1 parent ca6f188 commit fbcc8cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/shapes/shapes_top_down_lights.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ static void DrawLightMask(int slot)
341341
rlSetBlendMode(BLEND_CUSTOM);
342342

343343
// If we are valid, then draw the light radius to the alpha mask
344-
if (lights[slot].valid) DrawCircleGradient((int)lights[slot].position.x, (int)lights[slot].position.y, lights[slot].outerRadius, ColorAlpha(WHITE, 0), WHITE);
344+
if (lights[slot].valid) DrawCircleGradient(lights[slot].position, lights[slot].outerRadius, ColorAlpha(WHITE, 0), WHITE);
345345

346346
rlDrawRenderBatchActive();
347347

0 commit comments

Comments
 (0)