Tweaked asserts

This commit is contained in:
omar
2018-12-23 17:39:04 +01:00
parent 2889a14f86
commit a9a60a24c1
4 changed files with 17 additions and 7 deletions

View File

@ -142,6 +142,7 @@ static void ImGui_ImplWin32_UpdateMousePos()
void ImGui_ImplWin32_NewFrame()
{
ImGuiIO& io = ImGui::GetIO();
IM_ASSERT(io.Fonts->IsBuilt() && "Font atlas not built! It is generally built by the renderer back-end. Missing call to renderer _NewFrame() function? e.g. ImGui_ImplOpenGL3_NewFrame().");
// Setup display size (every frame to accommodate for window resizing)
RECT rect;