AA branch: more optimisations.

This commit is contained in:
ocornut
2015-06-30 13:27:35 -06:00
parent a8f0eb5ec6
commit 4bb94a9e4d
2 changed files with 16 additions and 16 deletions

View File

@ -1024,7 +1024,7 @@ struct ImDrawList
ImVector<ImTextureID> texture_id_stack; // [Internal]
ImVector<ImVec2> path; // [Internal]
ImDrawVert* vtx_write; // [Internal] point within vtx_buffer after each add command (to avoid using the ImVector<> operators too much)
ImDrawIdx vtx_current_idx; // [Internal] == vtx_buffer.size()
unsigned int vtx_current_idx; // [Internal] == vtx_buffer.size()
ImDrawIdx* idx_write; // [Internal] point within idx_buffer after each add command (to avoid using the ImVector<> operators too much)
ImDrawList() { Clear(); }