Ignore:
Timestamp:
Feb 9, 2011, 12:23:54 AM (10 years ago)
Author:
sam
Message:

Store the requested FPS in the Ticker class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/monsterz.cpp

    r616 r617  
    5252    SDL_ShowCursor(0);
    5353
    54     /* Initialise OpenGL */
     54    /* Initialise everything */
     55    Ticker::Setup(FPS);
    5556    Video::Setup(video->w, video->h);
    5657    Audio::Setup(2);
     
    7576        Ticker::TickDraw();
    7677        SDL_GL_SwapBuffers();
    77         Ticker::ClampFps(1000.0f / FPS);
     78        Ticker::ClampFps();
    7879    }
    7980
Note: See TracChangeset for help on using the changeset viewer.