mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
VideoCommon: Support hot reloading of VS expand
This commit is contained in:
parent
3912fa7a2e
commit
1e9b6f88e4
4 changed files with 10 additions and 5 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue