| 1 | //----------------------------------------------------------------------------- |
| 2 | // COMPILE-TIME OPTIONS FOR DEAR IMGUI ALLEGRO 5 EXAMPLE |
| 3 | // See imconfig.h for the full template |
| 4 | // Because Allegro doesn't support 16-bit vertex indices, we enable the compile-time option of imgui to use 32-bit indices |
| 5 | //----------------------------------------------------------------------------- |
| 6 | |
| 7 | #pragma once |
| 8 | |
| 9 | // Use 32-bit vertex indices because Allegro doesn't support 16-bit ones |
| 10 | // This allows us to avoid converting vertices format at runtime |
| 11 | #define ImDrawIdx int |