Browse Source

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

pull/305/head
ocornut 9 years ago
parent
commit
f1f4d68f7f
  1. 4
      imgui_internal.h

4
imgui_internal.h

@ -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…
Cancel
Save