Fix data race with mixer thread performance measurements

This commit is contained in:
Jonathan G Rennison
2022-11-09 23:12:30 +00:00
parent 7685c36f35
commit 551ef03478
2 changed files with 35 additions and 0 deletions

View File

@@ -3237,6 +3237,9 @@ void UpdateWindows()
PerformanceMeasurer framerate(PFE_DRAWING);
PerformanceAccumulator::Reset(PFE_DRAWWORLD);
extern void ProcessPendingPerformanceMeasurements();
ProcessPendingPerformanceMeasurements();
CallWindowRealtimeTickEvent(delta_ms);
static GUITimer network_message_timer = GUITimer(1);