| 703 | } |
| 704 | |
| 705 | void ImDrawList::PopTexture() |
| 706 | { |
| 707 | _TextureStack.pop_back(); |
| 708 | _CmdHeader.TexRef = (_TextureStack.Size == 0) ? ImTextureRef() : _TextureStack.Data[_TextureStack.Size - 1]; |
| 709 | _OnChangedTexture(); |
| 710 | } |
| 711 | |
| 712 | // This is used by ImGui::PushFont()/PopFont(). It works because we never use _TextureIdStack[] elsewhere than in PushTexture()/PopTexture(). |
| 713 | void ImDrawList::_SetTexture(ImTextureRef tex_ref) |
no test coverage detected