Add tip to Lazy texture caching button. Replaces #14183

This commit is contained in:
Henrik Rydgård committed 2021-11-09 22:54:47 +01:00
1 parent 4161b500ab
commit df9be770d6
2 files changed
+5

No files matched your search

+4
View File
@@ -489,6 +489,10 @@ void GameSettingsScreen::CreateViews() {
CheckBox *texBackoff = graphicsSettings->Add(new CheckBox(&g_Config.bTextureBackoffCache, gr->T("Lazy texture caching", "Lazy texture caching (speedup)")));
texBackoff->SetDisabledPtr(&g_Config.bSoftwareRendering);
texBackoff->OnClick.Add([=](EventParams& e) {
settingInfo_->Show(gr->T("Lazy texture caching Tip", "Faster, but can cause text problems in a few games"), e.v);
return UI::EVENT_CONTINUE;
});
CheckBox *texSecondary_ = graphicsSettings->Add(new CheckBox(&g_Config.bTextureSecondaryCache, gr->T("Retain changed textures", "Retain changed textures (speedup, mem hog)")));
texSecondary_->OnClick.Add([=](EventParams &e) {