Fix build with clang-cl

This commit is contained in:
sorgts committed 2020-08-13 16:48:48 +02:00
1 parent 0ae12da3a7
commit a8a1c67df0
6 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@
static std::atomic_flag threadRunningFlag;
static std::thread inputThread;
static std::atomic_bool focused = true;
static std::atomic_bool focused = ATOMIC_VAR_INIT(true);
inline static void ExecuteInputPoll() {
if (host && (focused.load(std::memory_order_relaxed) || !g_Config.bGamepadOnlyFocused)) {