浏览代码

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


正在加载...
取消
保存