summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2018-07-19 07:38:00 -0700
committerGravatar GitHub2018-07-19 07:38:00 -0700
commit87053fb3b84e50bc0e28b7518da80a21a01b29aa (patch)
tree34513d00e38347e666a108182e77fe831b365e52 /src
parentMerge pull request #700 from bunnei/update-dynarmic (diff)
parentgl_state: Temporarily disable culling and depth test. (diff)
downloadyuzu-87053fb3b84e50bc0e28b7518da80a21a01b29aa.tar.gz
yuzu-87053fb3b84e50bc0e28b7518da80a21a01b29aa.tar.xz
yuzu-87053fb3b84e50bc0e28b7518da80a21a01b29aa.zip
Merge pull request #697 from bunnei/disable-depth-cull
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, 3 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 7e620584f..f75999557 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -795,7 +795,9 @@ void RasterizerOpenGL::SyncClipCoef() {
795void RasterizerOpenGL::SyncCullMode() { 795void RasterizerOpenGL::SyncCullMode() {
796 const auto& regs = Core::System::GetInstance().GPU().Maxwell3D().regs; 796 const auto& regs = Core::System::GetInstance().GPU().Maxwell3D().regs;
797 797
798 state.cull.enabled = regs.cull.enabled != 0; 798 // TODO(bunnei): Enable the below once more things work - until then, this may hide regressions
799 // state.cull.enabled = regs.cull.enabled != 0;
800 state.cull.enabled = false;
799 801
800 if (state.cull.enabled) { 802 if (state.cull.enabled) {
801 state.cull.front_face = MaxwellToGL::FrontFace(regs.cull.front_face); 803 state.cull.front_face = MaxwellToGL::FrontFace(regs.cull.front_face);