diff options
author | chai <chaifix@163.com> | 2021-11-30 22:25:37 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-11-30 22:25:37 +0800 |
commit | 9e0e01b7f4375063f06e494113187d48614628e0 (patch) | |
tree | 21a4901612ad92c121f4c887a33b1bbbe87c6b00 /Client/ThirdParty/imgui/examples/example_allegro5/imconfig_allegro5.h |
+init
Diffstat (limited to 'Client/ThirdParty/imgui/examples/example_allegro5/imconfig_allegro5.h')
-rw-r--r-- | Client/ThirdParty/imgui/examples/example_allegro5/imconfig_allegro5.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Client/ThirdParty/imgui/examples/example_allegro5/imconfig_allegro5.h b/Client/ThirdParty/imgui/examples/example_allegro5/imconfig_allegro5.h new file mode 100644 index 0000000..35afa67 --- /dev/null +++ b/Client/ThirdParty/imgui/examples/example_allegro5/imconfig_allegro5.h @@ -0,0 +1,11 @@ +//----------------------------------------------------------------------------- +// COMPILE-TIME OPTIONS FOR DEAR IMGUI ALLEGRO 5 EXAMPLE +// See imconfig.h for the full template +// Because Allegro doesn't support 16-bit vertex indices, we enable the compile-time option of imgui to use 32-bit indices +//----------------------------------------------------------------------------- + +#pragma once + +// Use 32-bit vertex indices because Allegro doesn't support 16-bit ones +// This allows us to avoid converting vertices format at runtime +#define ImDrawIdx int |