| 1861 | } |
| 1862 | |
| 1863 | void ImDrawData::AddDrawList(ImDrawList* draw_list) |
| 1864 | { |
| 1865 | IM_ASSERT(CmdLists.Size == CmdListsCount); |
| 1866 | draw_list->_PopUnusedDrawCmd(); |
| 1867 | ImGui::AddDrawListToDrawDataEx(this, &CmdLists, draw_list); |
| 1868 | } |
| 1869 | |
| 1870 | // For backward compatibility: convert all buffers from indexed to de-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! |
| 1871 | void ImDrawData::DeIndexAllBuffers() |
nothing calls this directly
no test coverage detected