mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Patched to compile with Visual Studio.
This commit is contained in:
parent
1455a94714
commit
7e3b7dbcb6
@ -108,15 +108,15 @@ SDL_InitTicks(void)
|
|||||||
Uint32
|
Uint32
|
||||||
SDL_GetTicks(void)
|
SDL_GetTicks(void)
|
||||||
{
|
{
|
||||||
if (!ticks_started) {
|
|
||||||
SDL_InitTicks();
|
|
||||||
}
|
|
||||||
|
|
||||||
DWORD now;
|
DWORD now;
|
||||||
#ifndef USE_GETTICKCOUNT
|
#ifndef USE_GETTICKCOUNT
|
||||||
LARGE_INTEGER hires_now;
|
LARGE_INTEGER hires_now;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (!ticks_started) {
|
||||||
|
SDL_InitTicks();
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef USE_GETTICKCOUNT
|
#ifdef USE_GETTICKCOUNT
|
||||||
now = GetTickCount();
|
now = GetTickCount();
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user