diff --git a/src/sys/timer.cpp b/src/sys/timer.cpp index 714a3c34..427df9b9 100644 --- a/src/sys/timer.cpp +++ b/src/sys/timer.cpp @@ -88,11 +88,12 @@ private: { if (seconds > 5e-4f) Sleep((int)(seconds * 1e3f + 0.5f)); + return .0f; /* FIXME */ } static float GetSecondsPerCycle() { - LARGE_INTEGER tmp + LARGE_INTEGER tmp; QueryPerformanceFrequency(&tmp); return 1.f / tmp.QuadPart; }