AA branch: ImDrawList: rename commands to cmd_buffer

Not strictly necessary but while we're doing minor breakage let's do
them at all once.
This commit is contained in:
ocornut
2015-07-06 21:09:05 -06:00
parent e7e2fcdd19
commit 6a22835f63
6 changed files with 30 additions and 30 deletions

View File

@ -86,8 +86,8 @@ static void ImGui_ImplGlfwGL3_RenderDrawLists(ImDrawData* draw_data)
const ImDrawList* cmd_list = draw_data->cmd_lists[n];
const ImDrawIdx* idx_buffer = (const unsigned short*)&cmd_list->idx_buffer.front();
const ImDrawCmd* pcmd_end = cmd_list->commands.end();
for (const ImDrawCmd* pcmd = cmd_list->commands.begin(); pcmd != pcmd_end; pcmd++)
const ImDrawCmd* pcmd_end = cmd_list->cmd_buffer.end();
for (const ImDrawCmd* pcmd = cmd_list->cmd_buffer.begin(); pcmd != pcmd_end; pcmd++)
{
if (pcmd->user_callback)
{