Undef 'Status' in main header file. (#8751, #8765)

This commit is contained in:
ocornut
2025-07-07 14:56:50 +02:00
parent 68971223aa
commit 495d6f1e39
3 changed files with 4 additions and 3 deletions
+2
View File
@@ -3385,6 +3385,8 @@ struct ImDrawData
// FOR ALL OTHER ImTextureXXXX TYPES: ONLY CORE LIBRARY AND RENDERER BACKENDS NEED TO KNOW AND CARE ABOUT THEM.
//-----------------------------------------------------------------------------
#undef Status // X11 headers are leaking this.
// We intentionally support a limited amount of texture formats to limit burden on CPU-side code and extension.
// Most standard backends only support RGBA32 but we provide a single channel option for low-resource/embedded systems.
enum ImTextureFormat