Sfoglia il codice sorgente

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

legacy
Guillaume Bittoun Guillaume Bittoun 8 anni fa
parent
commit
3525d1f317
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/engine/ticker.cpp

+ 1
- 1
src/engine/ticker.cpp Vedi 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


Caricamento…
Annulla
Salva