mirror of https://github.com/PCSX2/pcsx2.git
Qt: Fix incorrect renderer shown in status bar
This commit is contained in:
parent
1a1fdf6a5a
commit
ad5de248b4
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue