MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / flip

Method flip

2dlib/screen.cpp:65–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63// ---------------------------------------------------------------------------
64
65void grScreen::flip() {
66 ASSERT(surf_init());
67 if (ddsfObj.flags & SURFFLAG_BACKBUFFER)
68 ddgr_surf_FlipVideo(&ddsfObj);
69 else if (ddsfObj.flags & SURFFLAG_RENDERER)
70 rend_Flip();
71}

Callers 3

OnPaintMethod · 0.80
OnPaintMethod · 0.80
DrawPlayerOnTerrainMethod · 0.80

Calls 2

ddgr_surf_FlipVideoFunction · 0.85
rend_FlipFunction · 0.50

Tested by

no test coverage detected