summaryrefslogtreecommitdiffstats
path: root/libdimension/tests/render.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-04-26 15:08:09 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-04-26 15:08:09 -0400
commit12c4a5eb07f346083a59bc7d18567b2df3ed94ee (patch)
tree638017b057b81d34935048d1b4c4bb7472614d88 /libdimension/tests/render.c
parent0acff566213fdddbc8f4561887aced121f82dc26 (diff)
downloaddimension-12c4a5eb07f346083a59bc7d18567b2df3ed94ee.tar.xz
future: Add a dmnsn_future_is_done() function.
Diffstat (limited to 'libdimension/tests/render.c')
-rw-r--r--libdimension/tests/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/tests/render.c b/libdimension/tests/render.c
index 1efff28..0192d35 100644
--- a/libdimension/tests/render.c
+++ b/libdimension/tests/render.c
@@ -366,7 +366,7 @@ main(void)
/* Display the scene as it's rendered */
if (display) {
- while (dmnsn_future_progress(future) < 1.0) {
+ while (!dmnsn_future_is_done(future)) {
dmnsn_future_pause(future);
if (dmnsn_gl_write_canvas(scene->canvas) != 0) {
dmnsn_delete_display(display);