diff options
author | chai <chaifix@163.com> | 2021-12-13 00:07:19 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-12-13 00:07:19 +0800 |
commit | 60cbbdec07ab7a5636eac5b3c024ae44e937f4d4 (patch) | |
tree | b2c7b0a868f18159dbc43d8954e1bd7668549a88 /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 |