summaryrefslogtreecommitdiffstats
path: root/game/client/splash.cc
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-05-27 16:35:41 +0500
committeruntodesu <kirill@untode.su>2025-05-27 16:35:41 +0500
commitadbbe24b0941c369d52461418cef206fc895168e (patch)
tree349141c1e81f1d1113d8bbd96525ff2cf37d691b /game/client/splash.cc
parent29da2327c990ef0ad4347b0067f4556030bbb3dc (diff)
downloadvoxelius-adbbe24b0941c369d52461418cef206fc895168e.tar.bz2
voxelius-adbbe24b0941c369d52461418cef206fc895168e.zip
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
Diffstat (limited to 'game/client/splash.cc')
-rw-r--r--game/client/splash.cc2
1 files changed, 1 insertions, 1 deletions
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();