瀏覽代碼

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

legacy
Guillaume Bittoun Guillaume Bittoun 8 年之前
父節點
當前提交
3525d1f317
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/engine/ticker.cpp

+ 1
- 1
src/engine/ticker.cpp 查看文件

@@ -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…
取消
儲存