mirror of https://github.com/PCSX2/pcsx2.git
Qt: Allow to run bilinear filtering with integer scaling.
This commit is contained in:
parent
8681eb0251
commit
d38147bcf2
|
@ -120,9 +120,6 @@ GraphicsSettingsWidget::GraphicsSettingsWidget(SettingsDialog* dialog, QWidget*
|
||||||
dialog->registerWidgetHelp(m_ui.noInterlacingPatches, tr("Enable No-Interlacing Patches"), tr("Unchecked"),
|
dialog->registerWidgetHelp(m_ui.noInterlacingPatches, tr("Enable No-Interlacing Patches"), tr("Unchecked"),
|
||||||
tr("Automatically loads and applies no-interlacing patches on game start. Can cause issues."));
|
tr("Automatically loads and applies no-interlacing patches on game start. Can cause issues."));
|
||||||
|
|
||||||
connect(m_ui.integerScaling, &QCheckBox::stateChanged, this, &GraphicsSettingsWidget::onIntegerScalingChanged);
|
|
||||||
onIntegerScalingChanged();
|
|
||||||
|
|
||||||
connect(m_ui.fullscreenModes, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &GraphicsSettingsWidget::onFullscreenModeChanged);
|
connect(m_ui.fullscreenModes, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &GraphicsSettingsWidget::onFullscreenModeChanged);
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -694,11 +691,6 @@ void GraphicsSettingsWidget::onFullscreenModeChanged(int index)
|
||||||
g_emu_thread->applySettings();
|
g_emu_thread->applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GraphicsSettingsWidget::onIntegerScalingChanged()
|
|
||||||
{
|
|
||||||
m_ui.bilinearFiltering->setEnabled(!m_ui.integerScaling->isChecked());
|
|
||||||
}
|
|
||||||
|
|
||||||
void GraphicsSettingsWidget::onTrilinearFilteringChanged()
|
void GraphicsSettingsWidget::onTrilinearFilteringChanged()
|
||||||
{
|
{
|
||||||
const bool forced_bilinear =
|
const bool forced_bilinear =
|
||||||
|
|
|
@ -39,7 +39,6 @@ private Q_SLOTS:
|
||||||
void onSWTextureFilteringChange();
|
void onSWTextureFilteringChange();
|
||||||
void onRendererChanged(int index);
|
void onRendererChanged(int index);
|
||||||
void onAdapterChanged(int index);
|
void onAdapterChanged(int index);
|
||||||
void onIntegerScalingChanged();
|
|
||||||
void onTrilinearFilteringChanged();
|
void onTrilinearFilteringChanged();
|
||||||
void onGpuPaletteConversionChanged(int state);
|
void onGpuPaletteConversionChanged(int state);
|
||||||
void onFullscreenModeChanged(int index);
|
void onFullscreenModeChanged(int index);
|
||||||
|
|
Loading…
Reference in New Issue