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

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;