Use different mutex for overlay to try to fix lag.

This commit is contained in:
Mr_Goldberg 2020-01-20 11:47:12 -05:00
parent 1dc5bcc5c1
commit 43a5b13302
No known key found for this signature in database
GPG key ID: 8597D87419DEF278
2 changed files with 13 additions and 6 deletions

View file

@ -92,6 +92,8 @@ class Steam_Overlay
std::vector<Notification> notifications;
bool overlay_state_changed;
std::recursive_mutex overlay_mutex;
Steam_Overlay(Steam_Overlay const&) = delete;
Steam_Overlay(Steam_Overlay&&) = delete;
Steam_Overlay& operator=(Steam_Overlay const&) = delete;