Fix: EEVEE: Unitinialized gpu::Batch array content

This lead to a crash in many cases at destruction time.
This commit is contained in:
Clément Foucault
2025-02-17 17:48:59 +01:00
parent 1b989a3b91
commit 00c3b564b8

View File

@@ -131,7 +131,7 @@ class LookdevModule {
MAX, /* Max number of level of detail */
};
std::array<gpu::Batch *, MAX> sphere_lod_;
std::array<gpu::Batch *, MAX> sphere_lod_ = {};
/* Size and position of the look-dev spheres in world space. */
float sphere_radius_;