From adbbe24b0941c369d52461418cef206fc895168e Mon Sep 17 00:00:00 2001 From: untodesu Date: Tue, 27 May 2025 16:35:41 +0500 Subject: GUI updates - Update ImGui to latest release (v1.91.9b) - Fixup splash using a deprecated ImGui function - Hide some settings tabs when not available - Fix sound config values getting trashed whenever sound system cannot be initialized --- game/client/splash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game/client/splash.cc') diff --git a/game/client/splash.cc b/game/client/splash.cc index 8bcf7e6..1de1e93 100644 --- a/game/client/splash.cc +++ b/game/client/splash.cc @@ -153,7 +153,7 @@ void client_splash::render(void) const ImVec4 tint = ImVec4(1.0f, 1.0f, 1.0f, texture_alpha); ImGui::SetCursorPos(image_pos); - ImGui::Image(texture->handle, image_size, uv_a, uv_b, tint); + ImGui::ImageWithBg(texture->handle, image_size, uv_a, uv_b, ImVec4(0.0f, 0.0f, 0.0f, 0.0f), tint); } ImGui::End(); -- cgit