mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 04:08:37 +01:00
Move the "Always on" option for lens flare occlusion to developer settings
This commit is contained in:
1 parent
52a7709fb5
commit
06a5de0972
2 files changed
+8
No files matched your search
@@ -337,6 +337,12 @@ void DeveloperToolsScreen::CreateGraphicsTab(UI::LinearLayout *list) {
|
||||
});
|
||||
}
|
||||
|
||||
static const char *depthRasterModes[] = { "Auto (default)", "Low", "Off", "Always on" };
|
||||
|
||||
PopupMultiChoice *depthRasterMode = list->Add(new PopupMultiChoice(&g_Config.iDepthRasterMode, gr->T("Lens flare occlusion"), depthRasterModes, 0, ARRAY_SIZE(depthRasterModes), I18NCat::GRAPHICS, screenManager()));
|
||||
depthRasterMode->SetDisabledPtr(&g_Config.bSoftwareRendering);
|
||||
depthRasterMode->SetChoiceIcon(3, ImageID("I_WARNING")); // It's a performance trap.
|
||||
|
||||
list->Add(new ItemHeader(dev->T("Ubershaders")));
|
||||
if (draw->GetShaderLanguageDesc().bitwiseOps && !draw->GetBugs().Has(Draw::Bugs::UNIFORM_INDEXING_BROKEN)) {
|
||||
// If the above if fails, the checkbox is redundant since it'll be force disabled anyway.
|
||||
|
||||
Reference in new issue
Block a user