summaryrefslogtreecommitdiffstats
path: root/libdimension/tests/test_canvas.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/tests/test_canvas.c')
-rw-r--r--libdimension/tests/test_canvas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/tests/test_canvas.c b/libdimension/tests/test_canvas.c
index 783914d..73ca1d9 100644
--- a/libdimension/tests/test_canvas.c
+++ b/libdimension/tests/test_canvas.c
@@ -50,7 +50,7 @@ dmnsn_paint_test_canvas(dmnsn_canvas *canvas)
color = dmnsn_color_from_sRGB(color);
}
- dmnsn_canvas_set_pixel(canvas, x, y, color);
+ dmnsn_canvas_set_pixel(canvas, x, y, DMNSN_TCOLOR(color));
}
}
}