mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-27 16:29:02 +08: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:
parent
e362c5af48
commit
3d4d1b8553
@ -43,7 +43,7 @@ Index of this file:
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef IMGUI_VERSION
|
||||
#error Must include imgui.h before imgui_internal.h
|
||||
#include "imgui.h"
|
||||
#endif
|
||||
|
||||
#include <stdio.h> // FILE*, sscanf
|
||||
|
Loading…
Reference in New Issue
Block a user