ref: ae8b80991ed1ad827b193c0b2552e3ac63a1baa4
parent: d6ae9c49f76e1617704eed3bbb1069292949e16c
author: Simon Howard <[email protected]>
date: Thu May 24 10:26:08 EDT 2007
Use I_Sleep in i_system.c instead of SDL_Delay directly. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 884
--- 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_WaitVBL(int count)
{
- SDL_Delay((count * 1000) / 70);
+ I_Sleep((count * 1000) / 70);
}
byte* I_AllocLow(int length)