You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Remove ERR_FAIL_COND that never happens in _draw_sky
In the conditional `sky` is always true.
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user