Based on your suggestion I tried surface.fill(color, special_flags=BLEND_RGB_MULT)
And actually, it's working great. From four lines to one, nice. Thanks for the tip!
Based on your suggestion I tried surface.fill(color, special_flags=BLEND_RGB_MULT)
And actually, it's working great. From four lines to one, nice. Thanks for the tip!