aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/disk_filesystem.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-07-14 00:52:23 -0500
committerSubv <subv2112@gmail.com>2018-07-14 00:52:23 -0500
commit021731e42a6338ce2aff89a68def607d05cc9026 (patch)
treed8461d109d4e7f8282fff56899e1f07e41fbe241 /src/core/file_sys/disk_filesystem.cpp
parent8e9285f679d3a52bf7bcbf337791d3e5238cf5ce (diff)
GPU: Always enable the depth write when clearing the depth buffer.
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.
Diffstat (limited to 'src/core/file_sys/disk_filesystem.cpp')
0 files changed, 0 insertions, 0 deletions