diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2025-01-20 00:50:40 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2025-01-20 00:50:40 +0100 |
commit | b863aec19fa95f39ec69e0e0f66d4851c9e3a358 (patch) | |
tree | b39754f211a023c3323d19c2b2c8428503a97fa8 /graphics.c | |
parent | b077de13ec171ab1ebc3b157dd6a2dc94a104f25 (diff) | |
download | reduced_system_layer-b863aec19fa95f39ec69e0e0f66d4851c9e3a358.zip |
Wayland screenshot
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) { |