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

Method TrianglesBegin

src/engine/client/graphics_threaded.cpp:776–784  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

774}
775
776void CGraphics_Threaded::TrianglesBegin()
777{
778 dbg_assert(m_Drawing == EDrawing::NONE, "called Graphics()->TrianglesBegin twice");
779 m_Drawing = EDrawing::TRIANGLES;
780
781 QuadsSetSubset(0, 0, 1, 1);
782 QuadsSetRotation(0);
783 SetColor(1, 1, 1, 1);
784}
785
786void CGraphics_Threaded::TrianglesEnd()
787{

Callers 2

RenderHslaScrollbarsMethod · 0.80
ForceRenderQuadsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected