Browse Source
The GPU ignores that register when clearing, but OpenGL obeys the glDepthMask parameter, so we set the depth mask to GL_TRUE when clearing the depth buffer. It will be restored to the correct value automatically on the next draw call.nce_cpp
1 changed files with 8 additions and 3 deletions
Loading…
Reference in new issue