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/deushax/deushax.cpp

    r616 r617  
    5050    //SDL_WM_GrabInput(SDL_GRAB_ON);
    5151
     52    Ticker::Setup(FPS);
     53
    5254    /* Initialise OpenGL */
    5355    Video::Setup(video->w, video->h);
     
    7678        Ticker::TickDraw();
    7779        SDL_GL_SwapBuffers();
    78         Ticker::ClampFps(1000.0f / FPS);
     80        Ticker::ClampFps();
    7981    }
    8082
Note: See TracChangeset for help on using the changeset viewer.