mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-12-24 09:24:15 +08:00
I think i should protect this
This commit is contained in:
parent
7137fae413
commit
300832ebb3
@ -241,6 +241,8 @@ void Steam_Overlay::OverlayProc( int width, int height )
|
||||
if (!show_overlay)
|
||||
return;
|
||||
|
||||
std::lock_guard<std::recursive_mutex> lock(global_mutex);
|
||||
|
||||
int friend_size = friends->size();
|
||||
|
||||
// Set the overlay windows to the size of the game window
|
||||
|
Loading…
x
Reference in New Issue
Block a user