Fix of compilation on OSX and Linux, update of camera after 3D mouse

disconnect moved to the main thread.
This commit is contained in:
bubnikv 2020-03-13 14:57:45 +01:00
parent 9b26f8a18b
commit 98fc01afe7
2 changed files with 17 additions and 7 deletions

View file

@ -440,7 +440,9 @@ void RemovableDriveManager::update()
void RemovableDriveManager::thread_proc()
{
// Signal the worker thread to update initially.
#ifdef _WIN32
m_wakeup = true;
#endif // _WIN32
for (;;) {
// Wait for 2 seconds before running the disk enumeration.