summaryrefslogtreecommitdiff
path: root/graphics.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics.c')
-rw-r--r--graphics.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics.c b/graphics.c
index 6a61ac3..2431e8c 100644
--- a/graphics.c
+++ b/graphics.c
@@ -33,9 +33,9 @@ typedef struct {
Pixel_Buffer buffer;
vec2 position;
vec2 scale;
- b8 antialiasing : 1;
- b8 alpha : 1;
- b8 xor_color : 1;
+ b8 quick : 1;
+ b8 alpha : 1;
+ b8 xor_color : 1;
vec4_f32 color;
} Brush;
@@ -605,7 +605,7 @@ void fill_rectangle(Brush brush, f64 x, f64 y, f64 width, f64 height) {
y1 = y0 + height * brush.scale.y;
}
- if (brush.antialiasing) {
+ if (!brush.quick) {
i64 i0 = (i64) ceil (x0);
i64 i1 = (i64) floor(x1);
i64 j0 = (i64) ceil (y0);