Added PrimUnreserve() API. Obsoleted calling ImDrawList::PrimReserve() with a negative count.

This commit is contained in:
Ben Carter
2019-11-22 22:06:44 +09:00
committed by omar
parent e4a59d0025
commit 697f15e339
5 changed files with 26 additions and 4 deletions

View File

@ -847,7 +847,7 @@ struct IMGUI_API ImDrawListSharedData
ImVec2 TexUvWhitePixel; // UV of white pixel in the atlas
ImFont* Font; // Current/default font (optional, for simplified AddText overload)
float FontSize; // Current/default font size (optional, for simplified AddText overload)
float CurveTessellationTol;
float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo()
ImVec4 ClipRectFullscreen; // Value for PushClipRectFullscreen()
ImDrawListFlags InitialFlags; // Initial flags at the beginning of the frame (it is possible to alter flags on a per-drawlist basis afterwards)