summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2007-05-24 14:26:08 +0000
committerSimon Howard2007-05-24 14:26:08 +0000
commitae8b80991ed1ad827b193c0b2552e3ac63a1baa4 (patch)
treeb9f1085d7ffa5b0aca9ba63a06e471a4693f0f8b
parentd6ae9c49f76e1617704eed3bbb1069292949e16c (diff)
downloadchocolate-doom-ae8b80991ed1ad827b193c0b2552e3ac63a1baa4.tar.gz
chocolate-doom-ae8b80991ed1ad827b193c0b2552e3ac63a1baa4.tar.bz2
chocolate-doom-ae8b80991ed1ad827b193c0b2552e3ac63a1baa4.zip
Use I_Sleep in i_system.c instead of SDL_Delay directly.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 884
-rw-r--r--src/i_system.c3
1 files changed, 1 insertions, 2 deletions
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 <string.h>
#include <stdarg.h>
-#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)