summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OnScreenDisplay.cpp
diff options
context:
space:
mode:
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();
}
}