| 2333 | } |
| 2334 | |
| 2335 | void ImDrawData::AddDrawList(ImDrawList* draw_list) |
| 2336 | { |
| 2337 | IM_ASSERT(CmdLists.Size == CmdListsCount); |
| 2338 | draw_list->_PopUnusedDrawCmd(); |
| 2339 | ImGui::AddDrawListToDrawDataEx(this, &CmdLists, draw_list); |
| 2340 | } |
| 2341 | |
| 2342 | // 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! |
| 2343 | void ImDrawData::DeIndexAllBuffers() |
nothing calls this directly
no test coverage detected