| 661 | } |
| 662 | |
| 663 | void ImDrawList::PopTextureID() |
| 664 | { |
| 665 | _TextureIdStack.pop_back(); |
| 666 | _CmdHeader.TextureId = (_TextureIdStack.Size == 0) ? (ImTextureID)NULL : _TextureIdStack.Data[_TextureIdStack.Size - 1]; |
| 667 | _OnChangedTextureID(); |
| 668 | } |
| 669 | |
| 670 | // This is used by ImGui::PushFont()/PopFont(). It works because we never use _TextureIdStack[] elsewhere than in PushTextureID()/PopTextureID(). |
| 671 | void ImDrawList::_SetTextureID(ImTextureID texture_id) |
no test coverage detected