You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +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);
|
RS::EnvironmentBG background = environment_get_background(p_env);
|
||||||
|
|
||||||
if (sky) {
|
if (sky) {
|
||||||
ERR_FAIL_COND(!sky);
|
|
||||||
sky_material = sky->material;
|
sky_material = sky->material;
|
||||||
|
|
||||||
if (sky_material.is_valid()) {
|
if (sky_material.is_valid()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user