Enables/disables writes the depth buffer
| 2059 | |
| 2060 | // Enables/disables writes the depth buffer |
| 2061 | void rend_SetZBufferWriteMask(int state) { |
| 2062 | OpenGL_sets_this_frame[5]++; |
| 2063 | if (state) { |
| 2064 | dglDepthMask(GL_TRUE); |
| 2065 | } else { |
| 2066 | dglDepthMask(GL_FALSE); |
| 2067 | } |
| 2068 | } |
| 2069 | |
| 2070 | int rend_ReInit() { |
| 2071 | opengl_Close(true); |
no outgoing calls
no test coverage detected