diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-11-29 09:39:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-29 09:39:47 +0100 |
commit | f82539944b609dc8327536aa92a3da3851ac1338 (patch) | |
tree | e3ce06cfd2764d4e41b228699fb0e00e41610dfc | |
parent | c9989c5390972939445cd871844f66788cbd8c20 (diff) | |
parent | f5e81b894afbf94d8700ef7bf793be0532fe7586 (diff) |
Merge pull request #33986 from nekomatata/gles2-conditional-cleaning
Removed duplicated conditional in GLES2
-rw-r--r-- | drivers/gles2/rasterizer_scene_gles2.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gles2/rasterizer_scene_gles2.cpp b/drivers/gles2/rasterizer_scene_gles2.cpp index bc47fb46f5..06608c658d 100644 --- a/drivers/gles2/rasterizer_scene_gles2.cpp +++ b/drivers/gles2/rasterizer_scene_gles2.cpp @@ -1869,7 +1869,6 @@ void RasterizerSceneGLES2::_setup_light_type(LightInstance *p_light, ShadowAtlas state.scene_shader.set_conditional(SceneShaderGLES2::LIGHT_USE_PSSM2, false); state.scene_shader.set_conditional(SceneShaderGLES2::LIGHT_USE_PSSM4, false); state.scene_shader.set_conditional(SceneShaderGLES2::LIGHT_USE_PSSM_BLEND, false); - state.scene_shader.set_conditional(SceneShaderGLES2::USE_SHADOW, false); if (!p_light) { //no light, return off return; |