| 421 | } |
| 422 | |
| 423 | void ImDrawList::_ClearFreeMemory() |
| 424 | { |
| 425 | CmdBuffer.clear(); |
| 426 | IdxBuffer.clear(); |
| 427 | VtxBuffer.clear(); |
| 428 | Flags = ImDrawListFlags_None; |
| 429 | _VtxCurrentIdx = 0; |
| 430 | _VtxWritePtr = NULL; |
| 431 | _IdxWritePtr = NULL; |
| 432 | _ClipRectStack.clear(); |
| 433 | _TextureIdStack.clear(); |
| 434 | _Path.clear(); |
| 435 | _Splitter.ClearFreeMemory(); |
| 436 | } |
| 437 | |
| 438 | ImDrawList* ImDrawList::CloneOutput() const |
| 439 | { |
no test coverage detected