1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-28 01:20:55 +01:00

Allow imgui_internal.h to be included before imgui.h

(practically speaking it allows me to use StructLayout without hassle)
This commit is contained in:
ocornut 2021-07-26 21:01:32 +02:00
parent e362c5af48
commit 3d4d1b8553

View File

@ -43,7 +43,7 @@ Index of this file:
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
#ifndef IMGUI_VERSION #ifndef IMGUI_VERSION
#error Must include imgui.h before imgui_internal.h #include "imgui.h"
#endif #endif
#include <stdio.h> // FILE*, sscanf #include <stdio.h> // FILE*, sscanf