aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBDKPlayer <fabian.stotz@yahoo.de>2020-05-03 14:29:39 +0200
committerBDKPlayer <fabian.stotz@yahoo.de>2020-05-03 14:29:39 +0200
commit84e7ec39812c0a8bfca954c523b4dbb0608714ea (patch)
treefad6efab3ed341bebd6a4c05ae6e8f06d63bce92
parent6c98a332ad6e3022d71ffc985cee91a9620581e2 (diff)
using 32bit indicies for IMGUI so we can draw more then 0xffff vertices
-rw-r--r--imgui/imconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/imgui/imconfig.h b/imgui/imconfig.h
index 825505b..c44d4ef 100644
--- a/imgui/imconfig.h
+++ b/imgui/imconfig.h
@@ -62,7 +62,7 @@
*/
//---- Use 32-bit vertex indices (default is 16-bit) to allow meshes with more than 64K vertices. Render function needs to support it.
-//#define ImDrawIdx unsigned int
+#define ImDrawIdx unsigned int
//---- Tip: You can add extra functions within the ImGui:: namespace, here or in your own headers files.
/*