Qt: Fix default value of PGXP depth buffer
This commit is contained in:
parent
31f7ec7538
commit
095bc280cb
|
@ -29,7 +29,7 @@ EnhancementSettingsWidget::EnhancementSettingsWidget(QtHostInterface* host_inter
|
||||||
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.pgxpCulling, "GPU", "PGXPCulling", true);
|
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.pgxpCulling, "GPU", "PGXPCulling", true);
|
||||||
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.pgxpTextureCorrection, "GPU",
|
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.pgxpTextureCorrection, "GPU",
|
||||||
"PGXPTextureCorrection", true);
|
"PGXPTextureCorrection", true);
|
||||||
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.pgxpDepthBuffer, "GPU", "PGXPDepthBuffer", true);
|
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.pgxpDepthBuffer, "GPU", "PGXPDepthBuffer", false);
|
||||||
|
|
||||||
connect(m_ui.resolutionScale, QOverload<int>::of(&QComboBox::currentIndexChanged), this,
|
connect(m_ui.resolutionScale, QOverload<int>::of(&QComboBox::currentIndexChanged), this,
|
||||||
&EnhancementSettingsWidget::updateScaledDitheringEnabled);
|
&EnhancementSettingsWidget::updateScaledDitheringEnabled);
|
||||||
|
@ -103,7 +103,7 @@ EnhancementSettingsWidget::EnhancementSettingsWidget(QtHostInterface* host_inter
|
||||||
tr("Uses perspective-correct interpolation for texture coordinates and colors, "
|
tr("Uses perspective-correct interpolation for texture coordinates and colors, "
|
||||||
"straightening out warped textures. Requires geometry correction enabled."));
|
"straightening out warped textures. Requires geometry correction enabled."));
|
||||||
dialog->registerWidgetHelp(
|
dialog->registerWidgetHelp(
|
||||||
m_ui.pgxpTextureCorrection, tr("Depth Buffer"), tr("Unchecked"),
|
m_ui.pgxpDepthBuffer, tr("Depth Buffer"), tr("Unchecked"),
|
||||||
tr("Attempts to reduce polygon Z-fighting by testing pixels against the depth values from PGXP. Low compatibility, "
|
tr("Attempts to reduce polygon Z-fighting by testing pixels against the depth values from PGXP. Low compatibility, "
|
||||||
"but can work well in some games. Other games may need a threshold adjustment."));
|
"but can work well in some games. Other games may need a threshold adjustment."));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue