diff --git a/osdep/timer-win2.c b/osdep/timer-win2.c index b87456f3ce..b58379d312 100644 --- a/osdep/timer-win2.c +++ b/osdep/timer-win2.c @@ -52,15 +52,7 @@ uint64_t mp_raw_time_us(void) } #endif -static void restore_timer(void) -{ - // The MSDN documents that begin/end "must" be matched. This satisfies - // this requirement. - timeEndPeriod(1); -} - void mp_raw_time_init(void) { timeBeginPeriod(1); // request 1ms timer resolution - atexit(restore_timer); }