mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-04 02:30:05 +00:00
ImGuiManager: Avoid deprecated std::memory_order_consume (#3433)
This commit is contained in:
parent
0a0ad3f9e2
commit
02d8e14752
@ -1117,7 +1117,7 @@ void ImGuiManager::ClearOSDMessages(bool clear_warnings)
|
|||||||
|
|
||||||
void ImGuiManager::AcquirePendingOSDMessages(Timer::Value current_time)
|
void ImGuiManager::AcquirePendingOSDMessages(Timer::Value current_time)
|
||||||
{
|
{
|
||||||
std::atomic_thread_fence(std::memory_order_consume);
|
std::atomic_thread_fence(std::memory_order_acquire);
|
||||||
if (s_state.osd_posted_messages.empty())
|
if (s_state.osd_posted_messages.empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user