mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 08:55:45 -04:00
Settings: Simplify resolution scale enumeration
This commit is contained in:
@ -30,6 +30,6 @@ void GPUSettingsWidget::setupAdditionalUi()
|
||||
m_ui.renderer->addItem(QString::fromLocal8Bit(Settings::GetRendererDisplayName(static_cast<GPURenderer>(i))));
|
||||
|
||||
m_ui.resolutionScale->addItem(tr("Automatic based on window size"));
|
||||
for (u32 i = 1; i <= 16; i++)
|
||||
for (u32 i = 1; i <= GPU::MAX_RESOLUTION_SCALE; i++)
|
||||
m_ui.resolutionScale->addItem(tr("%1x (%2x%3)").arg(i).arg(GPU::VRAM_WIDTH * i).arg(GPU::VRAM_HEIGHT * i));
|
||||
}
|
||||
|
Reference in New Issue
Block a user