summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/renderer_scene_gi_rd.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-08-17 19:50:10 +0200
committerGitHub <noreply@github.com>2021-08-17 19:50:10 +0200
commit819aa47feeefe76bf1cb2e179765bf35ee5d3dda (patch)
tree8276d96cfc16a4f0544d66542ca65c92b4a9eca5 /servers/rendering/renderer_rd/renderer_scene_gi_rd.h
parentaa3909cf5412cc96e4f5958e47f687034bf82150 (diff)
parent6027cd0a1dc0726b039a96c8d1b811158464540b (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.h4
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 {