Version 1.75 WIP

Added message to font file loading assert.
This commit is contained in:
omar
2019-11-28 20:58:16 +01:00
parent bf6d1ba3d1
commit abaf0256b8
8 changed files with 16 additions and 11 deletions

View File

@ -1,4 +1,4 @@
// dear imgui, v1.74
// dear imgui, v1.75 WIP
// (internal structures/api)
// You may use this file to debug, understand or extend ImGui features but we don't provide any guarantee of forward compatibility!
@ -166,7 +166,7 @@ extern IMGUI_API ImGuiContext* GImGui; // Current implicit context pointer
// Error handling
// Down the line in some frameworks/languages we would like to have a way to redirect those to the programmer and recover from more faults.
#ifndef IM_ASSERT_USER_ERROR
#define IM_ASSERT_USER_ERROR(_EXP,_MSG) IM_ASSERT((_EXP) && (_MSG)) // Recoverable User Error
#define IM_ASSERT_USER_ERROR(_EXP,_MSG) IM_ASSERT((_EXP) && _MSG) // Recoverable User Error
#endif
// Misc Macros