summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/png.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/png.c b/tests/png.c
index 2b3bf5b..b7edd95 100644
--- a/tests/png.c
+++ b/tests/png.c
@@ -67,7 +67,7 @@ int main() {
color.trans = 0.5;
}
- dmnsn_set_pixel(canvas, color, i, j);
+ dmnsn_set_pixel(canvas, i, j, color);
/*
* CIE Lab colorspace
@@ -85,7 +85,7 @@ int main() {
color.trans = 0.5;
}
- dmnsn_set_pixel(canvas, color, i + x, j);
+ dmnsn_set_pixel(canvas, i + x, j, color);
/*
* CIE Luv colorspace
@@ -103,7 +103,7 @@ int main() {
color.trans = 0.5;
}
- dmnsn_set_pixel(canvas, color, i + 2*x, j);
+ dmnsn_set_pixel(canvas, i + 2*x, j, color);
}
}