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

Function rend_CloseOpenGLWindow

renderer/HardwareOpenGL.cpp:2113–2118  ·  view source on GitHub ↗

Shuts down OpenGL in a window

Source from the content-addressed store, hash-verified

2111
2112// Shuts down OpenGL in a window
2113void rend_CloseOpenGLWindow(void) {
2114 opengl_Close();
2115 WindowGL = 0;
2116 OpenGL_window_initted = 0;
2117 mprintf(1, "SHUTTING DOWN WINDOWED OPENGL!");
2118}
2119
2120// Sets the hardware bias level for coplanar polygons
2121// This helps reduce z buffer artifacts

Callers 2

rend_InitFunction · 0.70
rend_CloseFunction · 0.70

Calls 1

opengl_CloseFunction · 0.70

Tested by

no test coverage detected