mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Removed duplicated conditional in GLES2
This commit is contained in:
parent
7735af7e76
commit
f5e81b894a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user