Fix use of uninitialized memory in EEVVEE next

This commit is contained in:
Campbell Barton
2024-05-23 15:30:58 +10:00
parent b25eefbf9a
commit d1516a44f2
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ class Instance {
static void *debug_scope_irradiance_sample;
uint64_t depsgraph_last_update_ = 0;
bool overlays_enabled_;
bool overlays_enabled_ = false;
public:
ShaderModule &shaders;

View File

@@ -155,7 +155,7 @@ class SyncModule {
Map<ObjectKey, ObjectHandle> ob_handles = {};
bool world_updated_;
bool world_updated_ = false;
public:
SyncModule(Instance &inst) : inst_(inst){};