mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
Fixed an issue where the background was too dark when opening a menu with the dark menu color scheme and the option to blur the background was disabled
This commit is contained in:
parent
2aa74878bb
commit
d7c03e52fb
|
@ -591,7 +591,11 @@ void Window::render()
|
|||
}
|
||||
else {
|
||||
// Dim the background slightly.
|
||||
backgroundParameters.dimming = 0.60f;
|
||||
if (Settings::getInstance()->getString("MenuColorScheme") == "light")
|
||||
backgroundParameters.dimming = 0.60f;
|
||||
else
|
||||
backgroundParameters.dimming = 0.80f;
|
||||
|
||||
mRenderer->shaderPostprocessing(Renderer::Shader::CORE, backgroundParameters,
|
||||
&processedTexture[0]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue