mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Multiple thread backends.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user