mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 12:14:00 +02:00
Bug fix for potential crash when getting DebugDraw::instance
This commit is contained in:
parent
6ea6477c73
commit
b0ad9a8110
1 changed files with 2 additions and 0 deletions
|
@ -608,6 +608,8 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
|
|||
}
|
||||
}
|
||||
|
||||
// make sure the debug draw singleton is initialized on the main thread.
|
||||
DebugDraw::getInstance().removeMarker("");
|
||||
|
||||
_runningMarker.startRunningMarker();
|
||||
|
||||
|
|
Loading…
Reference in a new issue