Merge pull request #6133 from jakedowns/jakedowns-fix-interlaced

Fix loading custom interlaced shaders (correction to incorrect "anaglyph" = true argument)
This commit is contained in:
SachinVin 2022-09-24 20:35:31 +05:30 committed by GitHub
commit 030ecaa83c
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;
} else {
std::string shader_text =
OpenGL::GetPostProcessingShaderCode(true, Settings::values.pp_shader_name);
OpenGL::GetPostProcessingShaderCode(false, Settings::values.pp_shader_name);
if (shader_text.empty()) {
// Should probably provide some information that the shader couldn't load
shader_data += fragment_shader_interlaced;