Use atomic_bool instead of atomic_flag for doresizes
atomic_flag seems to be broken on Windows for clearing them outside the thread they were tested and set in
This commit is contained in:
@@ -1321,7 +1321,7 @@ set_screen_size(int x, int y)
|
||||
break;
|
||||
}
|
||||
|
||||
atomic_flag_clear(&doresize_monitors[monitor_index_global]);
|
||||
atomic_store(&doresize_monitors[monitor_index_global], 1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user