diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-01-29 13:58:58 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-01-29 13:58:58 -0500 |
commit | e21fab389c2088c9d2ec4a9e4f55892f84193036 (patch) | |
tree | 4485fa1cf9368ef94e84b5e53a9fde3a36218ef2 /tests/libdimension/render.c | |
parent | 403678ce69d3992fbe72bd3cf9030eec67aaaed8 (diff) | |
download | dimension-e21fab389c2088c9d2ec4a9e4f55892f84193036.tar.xz |
Set resilience low for tests.
Diffstat (limited to 'tests/libdimension/render.c')
-rw-r--r-- | tests/libdimension/render.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libdimension/render.c b/tests/libdimension/render.c index 136866e..aace9af 100644 --- a/tests/libdimension/render.c +++ b/tests/libdimension/render.c @@ -204,8 +204,6 @@ dmnsn_new_test_scene(void) int main(void) { - bool have_png = true, have_gl = true; - /* Set the resilience low for tests */ dmnsn_set_resilience(DMNSN_SEVERITY_LOW); @@ -213,6 +211,7 @@ main(void) dmnsn_scene *scene = dmnsn_new_test_scene(); /* Optimize the canvas for PNG export */ + bool have_png = true; errno = 0; if (dmnsn_png_optimize_canvas(scene->canvas) != 0) { if (errno == ENOSYS) { @@ -225,6 +224,7 @@ main(void) } /* Optimize the canvas for GL drawing */ + bool have_gl = true; errno = 0; if (dmnsn_gl_optimize_canvas(scene->canvas) != 0) { if (errno == ENOSYS) { |