commit ae8b80991ed1ad827b193c0b2552e3ac63a1baa4
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Thu May 24 14:26:08 2007 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Thu May 24 14:26:08 2007 +0000
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(-)
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)