Changeset 2428


Ignore:
Timestamp:
Feb 17, 2013, 7:33:34 PM (6 years ago)
Author:
touky
Message:

CIS FIX : timer fix, sam should fix it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sys/timer.cpp

    r2424 r2428  
    8989        if (seconds > 5e-4f)
    9090            Sleep((int)(seconds * 1e3f + 0.5f));
     91        return .0f; /* FIXME */
    9192    }
    9293
    9394    static float GetSecondsPerCycle()
    9495    {
    95         LARGE_INTEGER tmp
     96        LARGE_INTEGER tmp;
    9697        QueryPerformanceFrequency(&tmp);
    9798        return 1.f / tmp.QuadPart;
Note: See TracChangeset for help on using the changeset viewer.