From b863aec19fa95f39ec69e0e0f66d4851c9e3a358 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Mon, 20 Jan 2025 00:50:40 +0100 Subject: Wayland screenshot --- graphics.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'graphics.c') diff --git a/graphics.c b/graphics.c index 95b9a30..90aade1 100755 --- a/graphics.c +++ b/graphics.c @@ -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) { -- cgit v1.2.3