Multiple thread backends.

This commit is contained in:
Przemysław Grzywacz
2011-06-08 16:54:35 +02:00
parent 09ed781f66
commit 1d5fca6f46
22 changed files with 1208 additions and 132 deletions
+2 -1
View File
@@ -19,6 +19,7 @@
**/
#include <common/config.h>
#include <common/delay.h>
#ifdef LOVE_WINDOWS
# include <windows.h>
@@ -81,7 +82,7 @@ namespace sdl
void Timer::sleep(int ms)
{
if(ms > 0)
SDL_Delay(ms);
delay(ms);
}
float Timer::getDelta() const