Fix hw update thread waiting for initial update signal

This commit is contained in:
jackun 2021-09-27 14:52:47 +03:00
parent ced84ec526
commit c452609718
No known key found for this signature in database
GPG Key ID: 119DB3F1D05A9ED3

View File

@ -163,7 +163,6 @@ void update_hud_info(struct swapchain_stats& sw_stats, struct overlay_params& pa
if (elapsed >= params.fps_sampling_period) {
if (!hw_update_thread)
hw_update_thread = std::make_unique<hw_info_updater>(sw_stats, params, vendorID);
else
hw_update_thread->update();
sw_stats.fps = fps;