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

Function rend_StartFrame

renderer/HardwareOpenGL.cpp:1656–1664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1654}
1655
1656void rend_StartFrame(int x1, int y1, int x2, int y2, int clear_flags) {
1657 if (clear_flags & RF_CLEAR_ZBUFFER) {
1658 dglClear(GL_DEPTH_BUFFER_BIT);
1659 }
1660 gpu_state.clip_x1 = x1;
1661 gpu_state.clip_y1 = y1;
1662 gpu_state.clip_x2 = x2;
1663 gpu_state.clip_y2 = y2;
1664}
1665
1666
1667// Flips the screen

Callers 5

UpdateViewMethod · 0.50
StartEditorFrameFunction · 0.50
ui_StartDrawFunction · 0.50
GameRenderFrameFunction · 0.50
StartFrameFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected