diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2014-04-26 15:08:09 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2014-04-26 15:08:09 -0400 |
commit | 12c4a5eb07f346083a59bc7d18567b2df3ed94ee (patch) | |
tree | 638017b057b81d34935048d1b4c4bb7472614d88 /libdimension/tests | |
parent | 0acff566213fdddbc8f4561887aced121f82dc26 (diff) | |
download | dimension-12c4a5eb07f346083a59bc7d18567b2df3ed94ee.tar.xz |
future: Add a dmnsn_future_is_done() function.
Diffstat (limited to 'libdimension/tests')
-rw-r--r-- | libdimension/tests/render.c | 2 |
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); |