mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Windows: Fixed not removing the always added hint callback on quit.
This was no real problem because SDL_Quit() also calls SDL_ClearHints().
This commit is contained in:
parent
c0578f9293
commit
f31ce3fb33
@ -107,10 +107,8 @@ SDL_TicksInit(void)
|
||||
void
|
||||
SDL_TicksQuit(void)
|
||||
{
|
||||
if (!hires_timer_available) {
|
||||
SDL_DelHintCallback(SDL_HINT_TIMER_RESOLUTION,
|
||||
SDL_TimerResolutionChanged, NULL);
|
||||
}
|
||||
SDL_DelHintCallback(SDL_HINT_TIMER_RESOLUTION,
|
||||
SDL_TimerResolutionChanged, NULL);
|
||||
|
||||
SDL_SetSystemTimerResolution(0); /* always release our timer resolution request. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user