mirror of
https://github.com/godotengine/godot.git
synced 2025-03-26 00:16:37 +08:00
Merge pull request #66660 from Sauermann/fix-never-happening-error-condition
Remove ERR_FAIL_COND that never happens in _draw_sky
This commit is contained in:
commit
28154b9a07
@ -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…
x
Reference in New Issue
Block a user