mirror of
https://github.com/encounter/SDL.git
synced 2025-12-10 14:07:50 +00:00
Patched to compile with Visual Studio.
This commit is contained in:
@@ -108,15 +108,15 @@ SDL_InitTicks(void)
|
||||
Uint32
|
||||
SDL_GetTicks(void)
|
||||
{
|
||||
if (!ticks_started) {
|
||||
SDL_InitTicks();
|
||||
}
|
||||
|
||||
DWORD now;
|
||||
#ifndef USE_GETTICKCOUNT
|
||||
LARGE_INTEGER hires_now;
|
||||
#endif
|
||||
|
||||
if (!ticks_started) {
|
||||
SDL_InitTicks();
|
||||
}
|
||||
|
||||
#ifdef USE_GETTICKCOUNT
|
||||
now = GetTickCount();
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user