diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-02-10 20:21:28 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-02-10 20:21:28 +0100 |
commit | 66d27df12f5b710ac5f569144944c1db0c86c96b (patch) | |
tree | 776a0f18304c6591dec4a212d105234d41a55459 /servers | |
parent | 38c851a3fa14983e60f74703fea2178d52358b92 (diff) |
Fix 3D sky update performance regression
Diffstat (limited to 'servers')
-rw-r--r-- | servers/rendering/renderer_rd/renderer_scene_sky_rd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/renderer_scene_sky_rd.cpp b/servers/rendering/renderer_rd/renderer_scene_sky_rd.cpp index fb36190c3e..354516ae87 100644 --- a/servers/rendering/renderer_rd/renderer_scene_sky_rd.cpp +++ b/servers/rendering/renderer_rd/renderer_scene_sky_rd.cpp @@ -1172,7 +1172,7 @@ void RendererSceneSkyRD::setup(RendererSceneEnvironmentRD *p_env, RID p_render_b } } // Check whether the directional_light_buffer changes - bool light_data_dirty = true; + bool light_data_dirty = false; // Light buffer is dirty if we have fewer or more lights // If we have fewer lights, make sure that old lights are disabled |