From f18be64eae972fd3d6fc7d0f2996c764fe4c4e4c Mon Sep 17 00:00:00 2001 From: Antoine Pilote Date: Thu, 18 Jan 2024 16:44:52 -0500 Subject: [PATCH] Casting change --- Editor/src/Windows/FileSystemUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/src/Windows/FileSystemUI.cpp b/Editor/src/Windows/FileSystemUI.cpp index 79064785..2791443e 100644 --- a/Editor/src/Windows/FileSystemUI.cpp +++ b/Editor/src/Windows/FileSystemUI.cpp @@ -355,7 +355,7 @@ namespace Nuake } ImGui::SetCursorPos(prevCursor); - ImGui::Image((ImTextureID)textureImage->GetID(), ImVec2(100, 100), ImVec2(0, 1), ImVec2(1, 0)); + ImGui::Image(reinterpret_cast(textureImage->GetID()), ImVec2(100, 100), ImVec2(0, 1), ImVec2(1, 0)); ImGui::PopStyleVar(); auto imguiStyle = ImGui::GetStyle();