fixes
This commit is contained in:
parent
15ad40e859
commit
e7e39fefa4
@ -50,7 +50,7 @@ elseif(NOT MSGPACK_LIBRARY)
|
||||
endif()
|
||||
set(MSGPACK_BUILD_EXAMPLES OFF)
|
||||
set(MSGPACK_BUILD_TESTS OFF)
|
||||
#set(MSGPACK_ENABLE_SHARED OFF) # broken disable, todo
|
||||
set(MSGPACK_ENABLE_SHARED OFF)
|
||||
add_subdirectory(msgpack-c)
|
||||
#include_directories(${PROJECT_SOURCE_DIR}/msgpack-c/include)
|
||||
set(MSGPACK_LIBRARY msgpackc-static) # before 1.4.0 was msgpack-static
|
||||
|
@ -4601,9 +4601,10 @@ void Game::updateFrame(ProfilerGraph *graph, RunStats *stats,
|
||||
allow = false;
|
||||
}
|
||||
if (allow) {
|
||||
updateDrawList_future = std::async(std::launch::async, [&]{
|
||||
client->getEnv().getClientMap().updateDrawList(driver, runData->update_draw_list_timer, 1000);
|
||||
});
|
||||
updateDrawList_future = std::async(std::launch::async, [=](float dtime) {
|
||||
client->getEnv().getClientMap().updateDrawList(driver, dtime, 1000);
|
||||
}, runData->update_draw_list_timer);
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -110,7 +110,7 @@ public:
|
||||
bool popBlockUpdate(QueuedMinimapUpdate *update);
|
||||
|
||||
MinimapData *data;
|
||||
u32 next_update;
|
||||
std::atomic_uint next_update;
|
||||
|
||||
protected:
|
||||
virtual void doUpdate();
|
||||
|
@ -549,6 +549,7 @@ our $tasks = {
|
||||
server_gdb_nd => [{-options_add => 'no_exit'}, 'build_server', ['gdb', 'run_server']],
|
||||
|
||||
bot_gdb => ['build_client_debug', ['gdb', 'run_single']],
|
||||
bot_gdb_nd => ['build_client', ['gdb', 'run_single']],
|
||||
|
||||
vtune => sub {
|
||||
sy 'echo 0|sudo tee /proc/sys/kernel/yama/ptrace_scope';
|
||||
|
Loading…
x
Reference in New Issue
Block a user