Update renderer_opengl.cpp

pass false for bool anaglyph when calling OpenGL::GetPostProcessingShaderCode in Interlaced conditional branch

fixes https://github.com/citra-emu/citra/issues/6132
This commit is contained in:
Jake Downs 2022-09-22 15:57:00 -07:00 committed by GitHub
parent cbd5d1c15c
commit a44c77351b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -693,7 +693,7 @@ void RendererOpenGL::ReloadShader() {
shader_data += fragment_shader_interlaced; shader_data += fragment_shader_interlaced;
} else { } else {
std::string shader_text = std::string shader_text =
OpenGL::GetPostProcessingShaderCode(true, Settings::values.pp_shader_name); OpenGL::GetPostProcessingShaderCode(false, Settings::values.pp_shader_name);
if (shader_text.empty()) { if (shader_text.empty()) {
// Should probably provide some information that the shader couldn't load // Should probably provide some information that the shader couldn't load
shader_data += fragment_shader_interlaced; shader_data += fragment_shader_interlaced;