summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2018-08-10 12:13:09 -0400
committerGravatar GitHub2018-08-10 12:13:09 -0400
commit6313d54cef858c58b93190a9070b19cbfb68533b (patch)
tree147b68b451671f8ee9af1c1c9564b2d29515fce4 /src
parentMerge pull request #1002 from bunnei/refactor-tex-fmt (diff)
parentRevert "gl_state: Temporarily disable culling and depth test." (diff)
downloadyuzu-6313d54cef858c58b93190a9070b19cbfb68533b.tar.gz
yuzu-6313d54cef858c58b93190a9070b19cbfb68533b.tar.xz
yuzu-6313d54cef858c58b93190a9070b19cbfb68533b.zip
Merge pull request #1008 from yuzu-emu/revert-697-disable-depth-cull
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);