VideoCommon: Support hot reloading of VS expand

This commit is contained in:
TellowKrinkle
2022-10-22 20:11:52 -05:00
parent 3912fa7a2e
commit 1e9b6f88e4
4 changed files with 10 additions and 5 deletions

View File

@ -202,7 +202,6 @@ void AdvancedWidget::OnBackendChanged()
{
m_backend_multithreading->setEnabled(g_Config.backend_info.bSupportsMultithreading);
m_prefer_vs_for_point_line_expansion->setEnabled(
Core::GetState() == Core::State::Uninitialized &&
g_Config.backend_info.bSupportsGeometryShaders &&
g_Config.backend_info.bSupportsVSLinePointExpand);
AddDescriptions();
@ -211,10 +210,6 @@ void AdvancedWidget::OnBackendChanged()
void AdvancedWidget::OnEmulationStateChanged(bool running)
{
m_enable_prog_scan->setEnabled(!running);
m_prefer_vs_for_point_line_expansion->setEnabled(
!running &&
g_Config.backend_info.bSupportsGeometryShaders &&
g_Config.backend_info.bSupportsVSLinePointExpand);
}
void AdvancedWidget::AddDescriptions()