Merge pull request #33986 from nekomatata/gles2-conditional-cleaning
Removed duplicated conditional in GLES2
This commit is contained in:
commit
f82539944b
|
@ -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_PSSM2, false);
|
||||||
state.scene_shader.set_conditional(SceneShaderGLES2::LIGHT_USE_PSSM4, 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::LIGHT_USE_PSSM_BLEND, false);
|
||||||
state.scene_shader.set_conditional(SceneShaderGLES2::USE_SHADOW, false);
|
|
||||||
|
|
||||||
if (!p_light) { //no light, return off
|
if (!p_light) { //no light, return off
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue