mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 05:34:47 +00:00
Use std::atomic_store
This commit is contained in:
parent
17b18975a4
commit
02a663d3c9
1 changed files with 2 additions and 2 deletions
|
@ -72,6 +72,6 @@ void macMouseDone() {
|
|||
}
|
||||
|
||||
void macMouseUpdatePosition(int x, int y) {
|
||||
g_MouseX = x;
|
||||
g_MouseY = y;
|
||||
g_MouseX.store(x, std::memory_order_relaxed);
|
||||
g_MouseY.store(y, std::memory_order_relaxed);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue