MCPcopy Create free account
hub / github.com/ddnet/ddnet / DeleteQuadContainer

Method DeleteQuadContainer

src/engine/client/graphics_threaded.cpp:1655–1666  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1653}
1654
1655void CGraphics_Threaded::DeleteQuadContainer(int &ContainerIndex)
1656{
1657 if(ContainerIndex == -1)
1658 return;
1659
1660 QuadContainerReset(ContainerIndex);
1661
1662 // also clear the container index
1663 m_vQuadContainers[ContainerIndex].m_FreeIndex = m_FirstFreeQuadContainer;
1664 m_FirstFreeQuadContainer = ContainerIndex;
1665 ContainerIndex = -1;
1666}
1667
1668void CGraphics_Threaded::RenderQuadContainer(int ContainerIndex, int QuadDrawNum)
1669{

Callers 11

DrawMethod · 0.80
ResetUIElementMethod · 0.80
ResetHudContainersMethod · 0.80
RenderScoreHudMethod · 0.80
ClearMethod · 0.80
OnWindowResizeMethod · 0.80
ResetMethod · 0.80
RebuildChatMethod · 0.80
AddLineMethod · 0.80
OnPrepareLinesMethod · 0.80
DeleteTextContainerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected