mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-24 02:29:20 +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;
|
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 New Issue
Block a user