Introduce IMGUI_USE_BGRA_PACKED_COLOR in imconfig.h.

When IMGUI_USE_BGRA_PACKED_COLOR is defined packed color hold in ImU32 use BGRA format instead RGBA.
This commit is contained in:
Michał Cichoń
2016-08-05 11:04:05 +02:00
parent 82dcdc9dfc
commit d75d2b1871
3 changed files with 24 additions and 6 deletions

View File

@ -26,6 +26,9 @@
//---- Don't define obsolete functions names
//#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS
//---- Pack colors to BGRA instead of RGBA (remove need to post process vertex buffer in back ends)
//#define IMGUI_USE_BGRA_PACKED_COLOR
//---- Implement STB libraries in a namespace to avoid conflicts
//#define IMGUI_STB_NAMESPACE ImGuiStb