aboutsummaryrefslogtreecommitdiff
path: root/src/loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/loader.h')
-rw-r--r--src/loader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/loader.h b/src/loader.h
index ad01cb4..07fe068 100644
--- a/src/loader.h
+++ b/src/loader.h
@@ -69,6 +69,9 @@ void imv_loader_load_next_frame(struct imv_loader *ldr);
* the loader will automatically load the next frame when it is due. */
void imv_loader_time_passed(struct imv_loader *ldr, double dt);
+/* Ask the loader how long we can sleep for until the next frame */
+double imv_loader_time_left(struct imv_loader *ldr);
+
#endif