overlays: dynamically change dialog background

This commit is contained in:
Megamouse 2021-04-13 02:11:17 +02:00
parent 20076ed57e
commit f5415fb4ac
6 changed files with 75 additions and 43 deletions

View file

@ -381,7 +381,7 @@ namespace
type.disable_cancel = true;
type.progress_bar_count = 1;
native_dlg = manager->create<rsx::overlays::progress_dialog>(!!g_cfg.video.shader_preloading_dialog.use_custom_background);
native_dlg = manager->create<rsx::overlays::progress_dialog>(true);
native_dlg->show(false, text0, type, nullptr);
native_dlg->progress_bar_set_message(0, "Please wait");
}