1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 20:22:30 +01:00

overlays: fix dirty state of message dialog

This commit is contained in:
Megamouse 2021-04-16 22:00:53 +02:00
parent ae8d1a3a60
commit 7bc673002f

View File

@ -293,8 +293,8 @@ namespace rsx
{
if (custom_background_allowed && g_cfg.video.shader_preloading_dialog.use_custom_background)
{
bool dirty = std::exchange(background_blur_strength, g_cfg.video.shader_preloading_dialog.blur_strength.get());
dirty |= std::exchange(background_darkening_strength, g_cfg.video.shader_preloading_dialog.darkening_strength.get());
bool dirty = std::exchange(background_blur_strength, g_cfg.video.shader_preloading_dialog.blur_strength.get()) != background_blur_strength;
dirty |= std::exchange(background_darkening_strength, g_cfg.video.shader_preloading_dialog.darkening_strength.get()) != background_darkening_strength;
if (!background_image)
{