1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-09 23:54:20 +00:00

Fixes for printing out ImTextureID value when it is typedef to other types. (#8889)

This commit is contained in:
ocornut 2025-08-19 15:32:12 +02:00
parent 655601169b
commit 321e9eb919
2 changed files with 4 additions and 3 deletions

View file

@ -335,6 +335,7 @@ extern IMGUI_API ImGuiContext* GImGui; // Current implicit context pointer
#define IM_PRIu64 "llu"
#define IM_PRIX64 "llX"
#endif
#define IM_TEXTUREID_TO_U64(_TEXID) ((ImU64)(intptr_t)(_TEXID))
//-----------------------------------------------------------------------------
// [SECTION] Generic helpers