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