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:
redpolline 2025-02-12 07:14:04 -05:00
parent 82e2abd117
commit 97b34c5e98

View file

@ -2062,6 +2062,9 @@ int Steam_Overlay::display_imgui_image(uint32_t displayImageType,
} }
} }
} }
if (ret != 1) {
ImGui::Dummy(image_size);
}
break; break;
case displayImageTypeAvatar: case displayImageTypeAvatar:
// User Avatars // User Avatars