mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-16 03:08:01 +00:00
Patched to compile with Visual Studio.
This commit is contained in:
parent
c830512c80
commit
35fe3c3252
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