summaryrefslogtreecommitdiffstats
path: root/tests/libdimension/render.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-11-30 21:14:36 -0500
committerTavian Barnes <tavianator@gmail.com>2010-11-30 21:14:36 -0500
commit4b9641002a7b0edac8d88762385315939d2ff753 (patch)
tree61a9912eae058cc9cee179b6b688476e8f60c889 /tests/libdimension/render.c
parent802153469d8763ed0dfe58590cee91aac1c49246 (diff)
downloaddimension-4b9641002a7b0edac8d88762385315939d2ff753.tar.xz
Use ENOSYS rather than ENOTSUP.
Diffstat (limited to 'tests/libdimension/render.c')
-rw-r--r--tests/libdimension/render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libdimension/render.c b/tests/libdimension/render.c
index 776fc1c..136866e 100644
--- a/tests/libdimension/render.c
+++ b/tests/libdimension/render.c
@@ -215,7 +215,7 @@ main(void)
/* Optimize the canvas for PNG export */
errno = 0;
if (dmnsn_png_optimize_canvas(scene->canvas) != 0) {
- if (errno == ENOTSUP) {
+ if (errno == ENOSYS) {
have_png = false;
} else {
dmnsn_delete_scene(scene);
@@ -227,7 +227,7 @@ main(void)
/* Optimize the canvas for GL drawing */
errno = 0;
if (dmnsn_gl_optimize_canvas(scene->canvas) != 0) {
- if (errno == ENOTSUP) {
+ if (errno == ENOSYS) {
have_gl = false;
} else {
dmnsn_delete_scene(scene);