summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-03-24 02:46:11 -0400
committerTavian Barnes <tavianator@gmail.com>2010-03-24 02:46:11 -0400
commitfb32b2955d735a98cae976b30e079386647703d5 (patch)
treebb9f6afd3c456400cb7a43401fbe7ac5b8970200 /libdimension/dimension
parent44a4fe4772dae123e2755e9b214d289715ec27c3 (diff)
downloaddimension-fb32b2955d735a98cae976b30e079386647703d5.tar.xz
New dmnsn_clear_canvas() function.
Makes valgrind happier about the GL test.
Diffstat (limited to 'libdimension/dimension')
-rw-r--r--libdimension/dimension/canvas.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdimension/dimension/canvas.h b/libdimension/dimension/canvas.h
index 67b88df..306b55c 100644
--- a/libdimension/dimension/canvas.h
+++ b/libdimension/dimension/canvas.h
@@ -75,5 +75,6 @@ dmnsn_get_pixel(const dmnsn_canvas *canvas, unsigned int x, unsigned int y)
void dmnsn_set_pixel(dmnsn_canvas *canvas, unsigned int x, unsigned int y,
dmnsn_color color);
+void dmnsn_clear_canvas(dmnsn_canvas *canvas, dmnsn_color color);
#endif /* DIMENSION_CANVAS_H */