Ignore:
Timestamp:
Feb 11, 2011, 11:08:35 PM (11 years ago)
Author:
sam
Message:

Fix the SDL timer behaviour. Fixes ticket #26.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/timer.cpp

    r259 r636  
    7878        /* The crappy SDL fallback */
    7979        Uint32 ticks = SDL_GetTicks();
    80         ret = 1e-6f * (ticks - ticks0);
     80        ret = ticks - ticks0;
    8181        if (update)
    8282            ticks0 = ticks;
Note: See TracChangeset for help on using the changeset viewer.