summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2018-08-10 10:39:46 -0400
committerGravatar GitHub2018-08-10 10:39:46 -0400
commit2156cb3cbedd5c684bafff4500d20868969bc167 (patch)
tree196e16fd188307d6193c5e85468d744378759ad9 /src
parentMerge pull request #995 from bunnei/gl-buff-bounds (diff)
downloadyuzu-2156cb3cbedd5c684bafff4500d20868969bc167.tar.gz
yuzu-2156cb3cbedd5c684bafff4500d20868969bc167.tar.xz
yuzu-2156cb3cbedd5c684bafff4500d20868969bc167.zip
Revert "gl_state: Temporarily disable culling and depth test."
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 546e86532..bed14d5fe 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -812,9 +812,7 @@ void RasterizerOpenGL::SyncClipCoef() {
812void RasterizerOpenGL::SyncCullMode() { 812void RasterizerOpenGL::SyncCullMode() {
813 const auto& regs = Core::System::GetInstance().GPU().Maxwell3D().regs; 813 const auto& regs = Core::System::GetInstance().GPU().Maxwell3D().regs;
814 814
815 // TODO(bunnei): Enable the below once more things work - until then, this may hide regressions 815 state.cull.enabled = regs.cull.enabled != 0;
816 // state.cull.enabled = regs.cull.enabled != 0;
817 state.cull.enabled = false;
818 816
819 if (state.cull.enabled) { 817 if (state.cull.enabled) {
820 state.cull.front_face = MaxwellToGL::FrontFace(regs.cull.front_face); 818 state.cull.front_face = MaxwellToGL::FrontFace(regs.cull.front_face);