mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-18 01:14:19 +00:00
(Breaking) Default ImTextureID to use a Im64 instead of void* (#1641)
This commit is contained in:
parent
19b494df89
commit
92b94980c6
19 changed files with 69 additions and 79 deletions
|
|
@ -6,10 +6,6 @@
|
|||
// - Documentation https://dearimgui.com/docs (same as your local docs/ folder).
|
||||
// - Introduction, links and more at the top of imgui.cpp
|
||||
|
||||
// Important: to compile on 32-bit systems, the DirectX12 backend requires code to be compiled with '#define ImTextureID ImU64'.
|
||||
// This is because we need ImTextureID to carry a 64-bit value and by default ImTextureID is defined as void*.
|
||||
// This define is set in the example .vcxproj file and need to be replicated in your app or by adding it to your imconfig.h file.
|
||||
|
||||
#include "imgui.h"
|
||||
#include "imgui_impl_win32.h"
|
||||
#include "imgui_impl_dx12.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue