imconfig_allegro5.h 556 B

123456789101112
  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. #pragma once
  7. // Use 32-bit vertex indices because Allegro doesn't support 16-bit ones
  8. // This allows us to avoid converting vertices format at runtime
  9. #define ImDrawIdx int