summaryrefslogtreecommitdiff
path: root/graphics.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics.c')
-rwxr-xr-xgraphics.c9
1 files changed, 3 insertions, 6 deletions
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) {