Browse Source

Crash fix: first call to TickGame must not occur before TickDraw. referencing #3

legacy
Guillaume Bittoun Guillaume Bittoun 8 years ago
parent
commit
3525d1f317
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/engine/ticker.cpp

+ 1
- 1
src/engine/ticker.cpp View File

@@ -504,7 +504,7 @@ void Ticker::Setup(float fps)

#if LOL_FEATURE_THREADS
data->gamethread = new thread(std::bind(&TickerData::GameThreadMain, data));
data->gametick.push(1);
data->drawtick.push(1);

data->diskthread = new thread(std::bind(&TickerData::DiskThreadMain, data));
#endif


Loading…
Cancel
Save