소스 검색

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

legacy
Sam Hocevar sam 15 년 전
부모
커밋
0297a2b195
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. +4
    -2
      src/ticker.cpp

+ 4
- 2
src/ticker.cpp 파일 보기

@@ -30,7 +30,7 @@ public:
TickerData() :
todolist(0), autolist(0),
nentities(0),
frame(0), deltams(0), bias(0),
frame(0), deltams(0), bias(0), fps(0),
quit(0), quitframe(0), quitdelay(20), panic(0)
{
for (int i = 0; i < Entity::ALLGROUP_END; i++)
@@ -63,7 +63,7 @@ private:
/* Fixed framerate management */
int frame;
Timer timer;
float deltams, bias;
float deltams, bias, fps;

/* Shutdown management */
int quit, quitframe, quitdelay, panic;
@@ -267,6 +267,8 @@ void Ticker::TickDraw()
{
Profiler::Start(Profiler::STAT_TICK_DRAW);

Video::Clear();

Scene::GetDefault();

/* Tick objects for the draw loop */


불러오는 중...
취소
저장