mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-26 19:25:42 -04:00
Qt: Fix MSAA game settings not updating combo box on open
This commit is contained in:
parent
263f7b673b
commit
a902d9b409
@ -345,7 +345,7 @@ void GamePropertiesDialog::populateGameSettings()
|
||||
{
|
||||
QSignalBlocker sb(m_ui.userMSAAMode);
|
||||
const QVariant current_msaa_mode(
|
||||
QtUtils::GetMSAAModeValue(static_cast<uint>(gs.gpu_multisamples.value()), gs.gpu_per_sample_shading.has_value()));
|
||||
QtUtils::GetMSAAModeValue(static_cast<uint>(gs.gpu_multisamples.value()), gs.gpu_per_sample_shading.value()));
|
||||
const int current_msaa_index = m_ui.userMSAAMode->findData(current_msaa_mode);
|
||||
if (current_msaa_index >= 0)
|
||||
m_ui.userMSAAMode->setCurrentIndex((current_msaa_index >= 0) ? current_msaa_index : 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user