From ae8b80991ed1ad827b193c0b2552e3ac63a1baa4 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 24 May 2007 14:26:08 +0000 Subject: Use I_Sleep in i_system.c instead of SDL_Delay directly. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 884 --- src/i_system.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/i_system.c b/src/i_system.c index 7a8c469c..024d858f 100644 --- a/src/i_system.c +++ b/src/i_system.c @@ -30,7 +30,6 @@ #include #include -#include "SDL.h" #include "deh_main.h" #include "doomdef.h" @@ -187,7 +186,7 @@ void I_Quit (void) void I_WaitVBL(int count) { - SDL_Delay((count * 1000) / 70); + I_Sleep((count * 1000) / 70); } byte* I_AllocLow(int length) -- cgit v1.2.3