1
1
Fork 0
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:
a740g 2024-03-24 21:36:18 +05:30
parent 17b18975a4
commit 02a663d3c9

View file

@ -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);
}