mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-27 14:08:39 +01:00
I think i should protect this
This commit is contained in:
parent
7137fae413
commit
300832ebb3
1 changed files with 2 additions and 0 deletions
|
@ -241,6 +241,8 @@ void Steam_Overlay::OverlayProc( int width, int height )
|
||||||
if (!show_overlay)
|
if (!show_overlay)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
std::lock_guard<std::recursive_mutex> lock(global_mutex);
|
||||||
|
|
||||||
int friend_size = friends->size();
|
int friend_size = friends->size();
|
||||||
|
|
||||||
// Set the overlay windows to the size of the game window
|
// Set the overlay windows to the size of the game window
|
||||||
|
|
Loading…
Reference in a new issue