diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-08-17 19:50:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 19:50:10 +0200 |
commit | 819aa47feeefe76bf1cb2e179765bf35ee5d3dda (patch) | |
tree | 8276d96cfc16a4f0544d66542ca65c92b4a9eca5 /servers/rendering/renderer_rd/renderer_scene_gi_rd.h | |
parent | aa3909cf5412cc96e4f5958e47f687034bf82150 (diff) | |
parent | 6027cd0a1dc0726b039a96c8d1b811158464540b (diff) |
Merge pull request #51768 from reduz/fixes-to-mobile-renderer-2
Fixes to mobile renderer
Diffstat (limited to 'servers/rendering/renderer_rd/renderer_scene_gi_rd.h')
-rw-r--r-- | servers/rendering/renderer_rd/renderer_scene_gi_rd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/rendering/renderer_rd/renderer_scene_gi_rd.h b/servers/rendering/renderer_rd/renderer_scene_gi_rd.h index 128bf09063..0b4622646f 100644 --- a/servers/rendering/renderer_rd/renderer_scene_gi_rd.h +++ b/servers/rendering/renderer_rd/renderer_scene_gi_rd.h @@ -110,8 +110,8 @@ private: float pad[3]; }; - VoxelGILight *voxel_gi_lights; - uint32_t voxel_gi_max_lights; + VoxelGILight *voxel_gi_lights = nullptr; + uint32_t voxel_gi_max_lights = 32; RID voxel_gi_lights_uniform; enum { |