ImDrawList: Fixed VtxOffset change leading to unnecessary leading empty ImDrawCmd in certain cases.

This commit is contained in:
ocornut
2020-06-10 19:16:06 +02:00
parent 16da8e6da6
commit 64d8d302fb
2 changed files with 17 additions and 2 deletions

View File

@ -2075,6 +2075,7 @@ struct ImDrawList
IMGUI_API void _PopUnusedDrawCmd();
IMGUI_API void _OnChangedClipRect();
IMGUI_API void _OnChangedTextureID();
IMGUI_API void _OnChangedVtxOffset();
};
// All draw data to render a Dear ImGui frame