summaryrefslogtreecommitdiffstats
path: root/libdimension/gl-stubs.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 /libdimension/gl-stubs.c
parent802153469d8763ed0dfe58590cee91aac1c49246 (diff)
downloaddimension-4b9641002a7b0edac8d88762385315939d2ff753.tar.xz
Use ENOSYS rather than ENOTSUP.
Diffstat (limited to 'libdimension/gl-stubs.c')
-rw-r--r--libdimension/gl-stubs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdimension/gl-stubs.c b/libdimension/gl-stubs.c
index 656b6a8..92fe541 100644
--- a/libdimension/gl-stubs.c
+++ b/libdimension/gl-stubs.c
@@ -29,14 +29,14 @@
int
dmnsn_gl_optimize_canvas(dmnsn_canvas *canvas)
{
- errno = ENOTSUP;
+ errno = ENOSYS;
return -1;
}
int
dmnsn_gl_write_canvas(const dmnsn_canvas *canvas)
{
- errno = ENOTSUP;
+ errno = ENOSYS;
return -1;
}
@@ -44,6 +44,6 @@ dmnsn_canvas *
dmnsn_gl_read_canvas(size_t x0, size_t y0,
size_t width, size_t height)
{
- errno = ENOTSUP;
+ errno = ENOSYS;
return NULL;
}