diff options
Diffstat (limited to 'graphics.c')
-rwxr-xr-x | graphics.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -248,12 +248,9 @@ static void put_pixel_xor_(Brush brush, i64 x, i64 y) { } static void put_pixel_(Brush brush, i64 x, i64 y) { - if (brush.xor_color) - put_pixel_xor_(brush, x, y); - else if (brush.alpha) - put_pixel_alpha_(brush, x, y); - else - put_pixel_color_(brush, x, y); + if (brush.xor_color) put_pixel_xor_ (brush, x, y); + else if (brush.alpha) put_pixel_alpha_(brush, x, y); + else put_pixel_color_(brush, x, y); } f64 transform_x_(Brush brush, f64 x) { |