summaryrefslogtreecommitdiff
path: root/src/common/string_util.cpp
diff options
context:
space:
mode:
authorGravatar Subv2018-07-14 00:52:23 -0500
committerGravatar Subv2018-07-14 00:52:23 -0500
commitb37354cca8da78bcfc72543615c3dcfa28a7a229 (patch)
treed8461d109d4e7f8282fff56899e1f07e41fbe241 /src/common/string_util.cpp
parentMerge pull request #657 from bunnei/dual-vs (diff)
downloadyuzu-b37354cca8da78bcfc72543615c3dcfa28a7a229.tar.gz
yuzu-b37354cca8da78bcfc72543615c3dcfa28a7a229.tar.xz
yuzu-b37354cca8da78bcfc72543615c3dcfa28a7a229.zip
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/string_util.cpp')
0 files changed, 0 insertions, 0 deletions