Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

gl_state: Temporarily disable culling and depth test.

bunnei9a4fa973c890
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 7e620584f7..f759995574 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);