From d5f69f2e830bad9b14a554853daf427b978fee0b Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Fri, 24 Nov 2017 16:48:28 +0000 Subject: Sleep for longer when displaying still images --- src/loader.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/loader.h') 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 -- cgit v1.2.3