summaryrefslogtreecommitdiff
path: root/src/common/logging/backend.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
commitb37354cca8da78bcfc72543615c3dcfa28a7a229 (patch)
treed8461d109d4e7f8282fff56899e1f07e41fbe241 /src/common/logging/backend.cpp
parent9fc0d1d701dbf4f775b25ee3f5b02a850eb5ffee (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/common/logging/backend.cpp')
0 files changed, 0 insertions, 0 deletions