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

Function rend_ResetCache

renderer/HardwareOpenGL.cpp:1765–1768  ·  view source on GitHub ↗

Clears the zbuffer for the screen

Source from the content-addressed store, hash-verified

1763
1764// Clears the zbuffer for the screen
1765void rend_ResetCache(void) {
1766 mprintf(0, "Resetting texture cache!\n");
1767 opengl_ResetCache();
1768}
1769
1770// Fills a rectangle on the display
1771void rend_FillRect(ddgr_color color, int x1, int y1, int x2, int y2) {

Callers 1

FlushDataCacheFunction · 0.50

Calls 1

opengl_ResetCacheFunction · 0.70

Tested by

no test coverage detected