summaryrefslogtreecommitdiffstats
path: root/tests
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 /tests
parent44a4fe4772dae123e2755e9b214d289715ec27c3 (diff)
downloaddimension-fb32b2955d735a98cae976b30e079386647703d5.tar.xz
New dmnsn_clear_canvas() function.
Makes valgrind happier about the GL test.
Diffstat (limited to 'tests')
-rw-r--r--tests/libdimension/gl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libdimension/gl.c b/tests/libdimension/gl.c
index 24a8ccd..00f9819 100644
--- a/tests/libdimension/gl.c
+++ b/tests/libdimension/gl.c
@@ -45,6 +45,8 @@ main() {
return EXIT_FAILURE;
}
+ dmnsn_clear_canvas(scene->canvas, dmnsn_black);
+
/* Create a new glX display */
display = dmnsn_new_display(scene->canvas);
if (!display) {