From df9be770d6362272ff77076ef805ecb10aae894d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Tue, 9 Nov 2021 22:54:47 +0100 Subject: [PATCH] Add tip to Lazy texture caching button. Replaces #14183 --- UI/GameSettingsScreen.cpp | 4 ++++ assets/lang/en_US.ini | 1 + 2 files changed, 5 insertions(+) diff --git a/UI/GameSettingsScreen.cpp b/UI/GameSettingsScreen.cpp index cd750d0b7a..2ec06b3a1e 100644 --- a/UI/GameSettingsScreen.cpp +++ b/UI/GameSettingsScreen.cpp @@ -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) { diff --git a/assets/lang/en_US.ini b/assets/lang/en_US.ini index 425fd2e7ef..8b00343aad 100644 --- a/assets/lang/en_US.ini +++ b/assets/lang/en_US.ini @@ -547,6 +547,7 @@ Hybrid + Bicubic = Hybrid + Bicubic Ignore camera notch when centering = Ignore camera notch when centering Internal Resolution = Internal resolution Lazy texture caching = Lazy texture caching (speedup) +Lazy texture caching Tip = Faster, but can cause text problems in a few games Linear = Linear Low = Low LowCurves = Spline/Bezier curves quality