fix: Wrong usage of windows icon texture
This commit is contained in:
parent
53a7577416
commit
0b3866a56a
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user