diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index b86683ef92..3a0acc4257 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -389,12 +389,14 @@ bool RasterizerOpenGL::SetupVertexShader() { bool RasterizerOpenGL::SetupGeometryShader() { MICROPROFILE_SCOPE(OpenGL_GS); const auto& regs = Pica::g_state.regs; - if (regs.pipeline.use_gs == Pica::PipelineRegs::UseGS::No) { - shader_program_manager->UseFixedGeometryShader(regs); - return true; - } else { + + if (regs.pipeline.use_gs != Pica::PipelineRegs::UseGS::No) { LOG_ERROR(Render_OpenGL, "Accelerate draw doesn't support geometry shader"); + return false; } + + shader_program_manager->UseFixedGeometryShader(regs); + return true; } bool RasterizerOpenGL::AccelerateDrawBatch(bool is_indexed) {