From 5ac828fd2325a6f1e2ab7043b1694d5877fda084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20=E2=80=98Touky=E2=80=99=20Huet?= Date: Sun, 17 Feb 2013 18:33:34 +0000 Subject: [PATCH] CIS FIX : timer fix, sam should fix it. --- src/sys/timer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }