We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33551f8 commit 7e8c9c6Copy full SHA for 7e8c9c6
libopenage/engine/engine.cpp
@@ -55,7 +55,7 @@ Engine::Engine(mode mode,
55
56
// if presenter is used, run it in a separate thread
57
if (this->run_mode == mode::FULL) {
58
- this->threads.emplace_back([&]() {
+ this->threads.emplace_back([&, debug_graphics]() {
59
this->presenter->run(debug_graphics);
60
61
// Make sure that the presenter gets destructed in the same thread
0 commit comments