mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-23 19:46:44 +00:00
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:
parent
cbd5d1c15c
commit
a44c77351b
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue