mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-27 12:04:16 +01:00
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:
commit
030ecaa83c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user