Ver código fonte

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

legacy
Guillaume Bittoun Guillaume Bittoun 8 anos atrás
pai
commit
3525d1f317
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      src/engine/ticker.cpp

+ 1
- 1
src/engine/ticker.cpp Ver arquivo

@@ -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


Carregando…
Cancelar
Salvar