summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OnScreenDisplay.cpp
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2025-01-20 14:40:27 -0600
committeriwubcode <iwubcode@users.noreply.github.com>2025-01-20 14:47:14 -0600
commit25c805be9989c0ce1bd671edcf4c775529f5fe42 (patch)
treec8b14adef799a0a58905801202d996cd39d91632 /Source/Core/VideoCommon/OnScreenDisplay.cpp
parent7ba56bc7382216cdfed541b287679d0deba14a30 (diff)
Externals / VideoCommon: update imgui to 1.91.7 and implot to v0.16; imgui changed types for ImTextureId, which was addressed by using an implicit cast
Diffstat (limited to 'Source/Core/VideoCommon/OnScreenDisplay.cpp')
-rw-r--r--Source/Core/VideoCommon/OnScreenDisplay.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/OnScreenDisplay.cpp b/Source/Core/VideoCommon/OnScreenDisplay.cpp
index cc7fa6e22b..6f42879c34 100644
--- a/Source/Core/VideoCommon/OnScreenDisplay.cpp
+++ b/Source/Core/VideoCommon/OnScreenDisplay.cpp
@@ -109,8 +109,8 @@ static float DrawMessage(int index, Message& msg, const ImVec2& position, int ti
if (msg.texture)
{
- ImGui::Image(msg.texture.get(), ImVec2(static_cast<float>(msg.icon->width),
- static_cast<float>(msg.icon->height)));
+ ImGui::Image(*msg.texture.get(), ImVec2(static_cast<float>(msg.icon->width),
+ static_cast<float>(msg.icon->height)));
ImGui::SameLine();
}
}