MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / RedrawViewport

Function RedrawViewport

Source/engine/backbuffer_state.cpp:55–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void RedrawViewport()
56{
57 for (BackbufferPtrAndState &ptrAndState : States) {
58 if (ptrAndState.state.redrawState.Redraw != RedrawState::RedrawAll) {
59 ptrAndState.state.redrawState.Redraw = RedrawState::RedrawViewportOnly;
60 }
61 }
62}
63
64bool IsRedrawViewport()
65{

Callers 3

ProcessInputFunction · 0.85
RunGameLoopFunction · 0.85
GameLogicFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected