mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-28 01:20:55 +01:00
Prevent imgui_internal.h from being included without imgui.h (piles of errors)
This commit is contained in:
parent
0c9fcdbe71
commit
f1f4d68f7f
@ -7,6 +7,10 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef IMGUI_VERSION
|
||||||
|
#error Must include imgui.h before imgui_internal.h
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdio.h> // FILE*
|
#include <stdio.h> // FILE*
|
||||||
#include <math.h> // sqrtf()
|
#include <math.h> // sqrtf()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user