Shutdown() freeing a few extra vectors so they don't have to freed by destruction #169

This commit is contained in:
ocornut
2015-03-21 00:41:34 +00:00
parent c0eab2a164
commit 92a22ab35f
2 changed files with 20 additions and 9 deletions

View File

@ -865,6 +865,7 @@ struct ImDrawList
ImDrawList() { Clear(); }
IMGUI_API void Clear();
IMGUI_API void ClearFreeMemory();
IMGUI_API void PushClipRect(const ImVec4& clip_rect); // Scissoring. The values are x1, y1, x2, y2.
IMGUI_API void PushClipRectFullScreen();
IMGUI_API void PopClipRect();