# HG changeset patch # User Sam Lantinga # Date 1017545651 0 # Node ID 72d55d02cb47766de98af98b27adca2099d177fa # Parent 1b5457c0a8ad5d2f2133413192900c1e506e6c22 Disabled QueryPerformanceCounter(), due to problems on Win2K diff -r 1b5457c0a8ad -r 72d55d02cb47 src/timer/win32/SDL_systimer.c --- a/src/timer/win32/SDL_systimer.c Sun Mar 31 02:42:43 2002 +0000 +++ b/src/timer/win32/SDL_systimer.c Sun Mar 31 03:34:11 2002 +0000 @@ -57,12 +57,14 @@ #ifdef USE_GETTICKCOUNT start = GetTickCount(); #else +#if 0 /* Apparently there are problems with QPC on Win2K */ if (QueryPerformanceFrequency(&hires_ticks_per_second) == TRUE) { hires_timer_available = TRUE; QueryPerformanceCounter(&hires_start_ticks); } else +#endif { hires_timer_available = FALSE; timeBeginPeriod(1); /* use 1 ms timer precision */