Browse Source

sokol_imgui.h: prepare for switch to dear_bindings cimgui

Andre Weissflog 9 months ago
parent
commit
ad462b919e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      util/sokol_imgui.h

+ 1 - 1
util/sokol_imgui.h

@@ -574,7 +574,7 @@ inline void simgui_create_fonts_texture(const simgui_font_tex_desc_t& desc) { re
     #error "Please include imgui.h before the sokol_imgui.h implementation"
     #error "Please include imgui.h before the sokol_imgui.h implementation"
     #endif
     #endif
 #else
 #else
-    #if !defined(CIMGUI_INCLUDED)
+    #if !defined(CIMGUI_API)
     #error "Please include cimgui.h before the sokol_imgui.h implementation"
     #error "Please include cimgui.h before the sokol_imgui.h implementation"
     #endif
     #endif
 #endif
 #endif