Remove ERR_FAIL_COND that never happens in _draw_sky
In the conditional `sky` is always true.
This commit is contained in:
parent
f47979f087
commit
7e9327350c
1 changed files with 0 additions and 1 deletions
|
@ -737,7 +737,6 @@ void RasterizerSceneGLES3::_draw_sky(RID p_env, const Projection &p_projection,
|
|||
RS::EnvironmentBG background = environment_get_background(p_env);
|
||||
|
||||
if (sky) {
|
||||
ERR_FAIL_COND(!sky);
|
||||
sky_material = sky->material;
|
||||
|
||||
if (sky_material.is_valid()) {
|
||||
|
|
Loading…
Reference in a new issue