Skip to content

fix renderer bug when displaying a circle filled in with rgba color

Jeremy Soller requested to merge robbycerantola:master into master

Created by: robbycerantola

@jackpot51 There is a bug rendering a circle filled with rgba color when alfa is not ff ; there are some horizontal line because those pixel are cycled multiple times . circle_bug

I pushed a fix so the circle will render corectly when filled in rgba colors.

circle_nobug

Updated example , resolved some complains in sdl2.rs about "variable does not need to be mutable" too.

Hope you like it.

Merge request reports