diff --git a/ImGui/imgui.h b/ImGui/imgui.h index a81296fd..aa5b5346 100644 --- a/ImGui/imgui.h +++ b/ImGui/imgui.h @@ -120,9 +120,14 @@ struct ImGuiTextFilter; // Helper to parse and apply text filters (e // Typedefs and Enums/Flags (declared as int for compatibility with old C++, to allow using as flags and to not pollute the top of this file) // Use your programming IDE "Go to definition" facility on the names of the center columns to find the actual flags/enum lists. +#ifndef _WIN64 +#include +typedef int64_t ImTextureID; +#else #ifndef ImTextureID typedef void* ImTextureID; // User data to identify a texture (this is whatever to you want it to be! read the FAQ about ImTextureID in imgui.cpp) #endif +#endif typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string) typedef unsigned short ImWchar; // A single U16 character for keyboard input/display. We encode them as multi bytes UTF-8 when used in strings. typedef int ImGuiCol; // -> enum ImGuiCol_ // Enum: A color identifier for styling