2
0
Эх сурвалжийг харах

Merge pull request #236 from bkaradzic/master

Define STBTT_DEF extern when STBTT not compiled with ImGui.
omar 10 жил өмнө
parent
commit
46a27cdb6b
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      imgui.cpp

+ 2 - 0
imgui.cpp

@@ -474,6 +474,8 @@ namespace IMGUI_STB_NAMESPACE
 #ifndef IMGUI_DISABLE_STB_TRUETYPE_IMPLEMENTATION
 #define STBTT_STATIC
 #define STB_TRUETYPE_IMPLEMENTATION
+#else
+#define STBTT_DEF extern
 #endif
 #include "stb_truetype.h"