Use a barrier to ensure we don't flush important window events

This commit is contained in:
Cameron Gutman committed 2021-01-09 17:51:25 -06:00
1 parent e6f59062fa
commit 2d62d090df
3 files changed
+47 -6

No files matched your search

+3
View File
@@ -39,6 +39,8 @@ public:
return m_OverlayManager;
}
void flushWindowEvents();
signals:
void stageStarting(QString stage);
@@ -150,6 +152,7 @@ private:
SdlInputHandler* m_InputHandler;
SDL_SpinLock m_InputHandlerLock;
int m_MouseEmulationRefCount;
bool m_FlushingWindowEvents;
bool m_AsyncConnectionSuccess;
int m_PortTestResults;