From 0b3866a56ad8a9b75121f3dd53571c9097ead42c Mon Sep 17 00:00:00 2001 From: WerWolv Date: Mon, 27 Jan 2025 22:35:27 +0100 Subject: [PATCH] fix: Wrong usage of windows icon texture --- plugins/builtin/source/content/window_decoration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/builtin/source/content/window_decoration.cpp b/plugins/builtin/source/content/window_decoration.cpp index 2ba4268b9..f94a523a8 100644 --- a/plugins/builtin/source/content/window_decoration.cpp +++ b/plugins/builtin/source/content/window_decoration.cpp @@ -386,7 +386,7 @@ namespace hex::plugin::builtin { if (ImHexApi::System::isBorderlessWindowModeEnabled()) { #if defined(OS_WINDOWS) ImGui::SetCursorPosX(5_scaled); - ImGui::Image(s_logoTexture, s_logoTexture.getSize() * u32(1_scaled)); + ImGui::Image(*s_logoTexture, s_logoTexture->getSize() * u32(1_scaled)); ImGui::SetCursorPosX(5_scaled); ImGui::InvisibleButton("##logo", ImVec2(menuBarHeight, menuBarHeight)); if (ImGui::IsItemHovered() && ImGui::IsAnyMouseDown())