From dbb97d9d422b27da40b336be1854850f515a3868 Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Fri, 9 Sep 2016 21:52:04 +0200 Subject: [PATCH] Fix rendering artifact by replacing a call to the function which should not be named to draw.polygon. --- tabakrolletjie/lights.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabakrolletjie/lights.py b/tabakrolletjie/lights.py index f892a35..108f795 100644 --- a/tabakrolletjie/lights.py +++ b/tabakrolletjie/lights.py @@ -175,7 +175,7 @@ class BaseLight(object): ray_mask.fill(black) for pygame_poly in self.ray_manager.pygame_polys(surface): pygame.draw.polygon(ray_mask, white, pygame_poly, 0) - pygame.draw.aalines(ray_mask, white, True, pygame_poly, 1) + pygame.draw.polygon(ray_mask, white, pygame_poly, 1) dt.lap("ray mask rendered") radius_mask.fill(black) -- 2.34.1