summaryrefslogtreecommitdiff
path: root/FrameRender/P_Square.c
diff options
context:
space:
mode:
Diffstat (limited to 'FrameRender/P_Square.c')
-rw-r--r--FrameRender/P_Square.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FrameRender/P_Square.c b/FrameRender/P_Square.c
index 7865370..f5dbef7 100644
--- a/FrameRender/P_Square.c
+++ b/FrameRender/P_Square.c
@@ -7,7 +7,7 @@ void Square_callback(Square* self, struct PixelContext* fc) {
if (0 <= fc->x && fc->x <= self->width &&
0 <= fc->y && fc->y <= self->height)
{
- ARGB_set(&fc->pixel, self->color);
+ ARGB_merge(&fc->pixel, self->color);
}
}