summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-19 16:38:00 +0200
committerGitHub <noreply@github.com>2018-07-19 16:38:00 +0200
commit87053fb3b84e50bc0e28b7518da80a21a01b29aa (patch)
tree34513d00e38347e666a108182e77fe831b365e52
parentMerge pull request #700 from bunnei/update-dynarmic (diff)
parentgl_state: Temporarily disable culling and depth test. (diff)
downloadyuzu-87053fb3b84e50bc0e28b7518da80a21a01b29aa.tar
yuzu-87053fb3b84e50bc0e28b7518da80a21a01b29aa.tar.gz
yuzu-87053fb3b84e50bc0e28b7518da80a21a01b29aa.tar.bz2
yuzu-87053fb3b84e50bc0e28b7518da80a21a01b29aa.tar.lz
yuzu-87053fb3b84e50bc0e28b7518da80a21a01b29aa.tar.xz
yuzu-87053fb3b84e50bc0e28b7518da80a21a01b29aa.tar.zst
yuzu-87053fb3b84e50bc0e28b7518da80a21a01b29aa.zip
-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() {
void RasterizerOpenGL::SyncCullMode() {
const auto& regs = Core::System::GetInstance().GPU().Maxwell3D().regs;
- state.cull.enabled = regs.cull.enabled != 0;
+ // TODO(bunnei): Enable the below once more things work - until then, this may hide regressions
+ // state.cull.enabled = regs.cull.enabled != 0;
+ state.cull.enabled = false;
if (state.cull.enabled) {
state.cull.front_face = MaxwellToGL::FrontFace(regs.cull.front_face);