Changeset 616


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

The client application no longer needs to call Video::Clea().

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/deushax/deushax.cpp

    r615 r616  
    7373        Ticker::TickGame();
    7474
    75         /* Clear the screen, tick the renderer, show the frame and
    76          * clamp to desired framerate. */
    77         Video::Clear();
     75        /* Tick the renderer, show the frame and clamp to desired framerate. */
    7876        Ticker::TickDraw();
    7977        SDL_GL_SwapBuffers();
  • trunk/deushax/gtk/glmapview.cpp

    r220 r616  
    149149        ticking = FALSE;
    150150
    151         /* Clear the screen, tick the renderer, show the frame and
    152          * clamp to desired framerate */
    153         Video::Clear();
     151        /* Tick the renderer, show the frame and clamp to desired framerate */
    154152        Ticker::TickDraw();
    155153        gtk_gl_area_swapbuffers(GTK_GL_AREA(glarea));
  • trunk/monsterz/monsterz.cpp

    r615 r616  
    7272        Ticker::TickGame();
    7373
    74         /* Clear the screen, tick the renderer, show the frame and
    75          * clamp to desired framerate. */
    76         Video::Clear();
     74        /* Tick the renderer, show the frame and clamp to desired framerate. */
    7775        Ticker::TickDraw();
    7876        SDL_GL_SwapBuffers();
  • trunk/src/ticker.cpp

    r382 r616  
    3131        todolist(0), autolist(0),
    3232        nentities(0),
    33         frame(0), deltams(0), bias(0),
     33        frame(0), deltams(0), bias(0), fps(0),
    3434        quit(0), quitframe(0), quitdelay(20), panic(0)
    3535    {
     
    6464    int frame;
    6565    Timer timer;
    66     float deltams, bias;
     66    float deltams, bias, fps;
    6767
    6868    /* Shutdown management */
     
    268268    Profiler::Start(Profiler::STAT_TICK_DRAW);
    269269
     270    Video::Clear();
     271
    270272    Scene::GetDefault();
    271273
Note: See TracChangeset for help on using the changeset viewer.