mirror of
https://github.com/encounter/SDL.git
synced 2025-05-24 16:21:25 +00:00
Style: Flip if
statement.
This commit is contained in:
parent
6c536afdb7
commit
f25b4b2774
@ -87,7 +87,7 @@ SDL_TicksInit(void)
|
|||||||
has_monotonic_time = SDL_TRUE;
|
has_monotonic_time = SDL_TRUE;
|
||||||
} else
|
} else
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
if (0 == mach_timebase_info(&mach_base_info)) {
|
if (mach_timebase_info(&mach_base_info) == 0) {
|
||||||
has_monotonic_time = SDL_TRUE;
|
has_monotonic_time = SDL_TRUE;
|
||||||
start_mach = mach_absolute_time();
|
start_mach = mach_absolute_time();
|
||||||
} else
|
} else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user