summaryrefslogtreecommitdiff
path: root/src/i_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i_timer.c')
-rw-r--r--src/i_timer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/i_timer.c b/src/i_timer.c
index 8ae68b82..ef97b7b7 100644
--- a/src/i_timer.c
+++ b/src/i_timer.c
@@ -73,6 +73,11 @@ void I_Sleep(int ms)
SDL_Delay(ms);
}
+void I_WaitVBL(int count)
+{
+ I_Sleep((count * 1000) / 70);
+}
+
void I_InitTimer(void)
{