Prevent imgui_internal.h from being included without imgui.h (piles of errors)

This commit is contained in:
ocornut 2015-08-10 10:26:39 -06:00
parent 0c9fcdbe71
commit f1f4d68f7f

View File

@ -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()