From faf13e77b65fc060e56cebf768374a550be8eacc Mon Sep 17 00:00:00 2001 From: Nemirtingas Date: Thu, 25 Jul 2019 23:27:09 +0200 Subject: [PATCH] Added 64bits support to ImGui --- ImGui/imgui.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ImGui/imgui.h b/ImGui/imgui.h index a81296f..aa5b534 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