mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-04-21 21:52:06 +02:00
Add dummy UI object if achievement isn't loaded.
This should prevent the achievements list in the steam overlay from being unreadable when the images are not able to be displayed.
This commit is contained in:
parent
82e2abd117
commit
97b34c5e98
1 changed files with 3 additions and 0 deletions
|
@ -2062,6 +2062,9 @@ int Steam_Overlay::display_imgui_image(uint32_t displayImageType,
|
|||
}
|
||||
}
|
||||
}
|
||||
if (ret != 1) {
|
||||
ImGui::Dummy(image_size);
|
||||
}
|
||||
break;
|
||||
case displayImageTypeAvatar:
|
||||
// User Avatars
|
||||
|
|
Loading…
Add table
Reference in a new issue