mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-14 17:07:01 +00: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
|
||||
|
||||
#ifndef IMGUI_VERSION
|
||||
#error Must include imgui.h before imgui_internal.h
|
||||
#endif
|
||||
|
||||
#include <stdio.h> // FILE*
|
||||
#include <math.h> // sqrtf()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user