Patched to compile with Visual Studio.
This commit is contained in:
parent
f082b60d08
commit
8cd0072f2d
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue