Qt: Fix incorrect renderer shown in status bar

This commit is contained in:
Stenzek 2024-01-10 18:41:42 +10:00 committed by Connor McLaughlin
parent 1a1fdf6a5a
commit ad5de248b4
1 changed files with 1 additions and 1 deletions

View File

@ -995,7 +995,7 @@ void EmuThread::updatePerformanceMetrics(bool force)
QMetaObject::invokeMethod(g_main_window->getStatusVerboseWidget(), "setText", Qt::QueuedConnection, Q_ARG(const QString&, gs_stat));
}
const GSRendererType renderer = GSConfig.Renderer;
const GSRendererType renderer = GSGetCurrentRenderer(); // Reading from GS thread, therefore racey, but it's just visual.
const float speed = std::round(PerformanceMetrics::GetSpeed());
const float gfps = std::round(PerformanceMetrics::GetInternalFPS());
const float vfps = std::round(PerformanceMetrics::GetFPS());