From 6217c830a9c4cf7621892fdb160c45232038a387 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 21 Sep 2017 02:15:48 +0200 Subject: [PATCH] 64K indices is not enough. --- imgui/imconfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui/imconfig.h b/imgui/imconfig.h index e557fa06..894f24e4 100755 --- a/imgui/imconfig.h +++ b/imgui/imconfig.h @@ -45,7 +45,7 @@ */ //---- Use 32-bit vertex indices (instead of default: 16-bit) to allow meshes with more than 64K vertices -//#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. //---- e.g. create variants of the ImGui::Value() helper for your low-level math types, or your own widgets/helpers.