mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-30 15:04:07 +00:00
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.