Fix uninitialised member vars in CommandQueueMT and RasterizerSceneGLES3

This commit is contained in:
Ibrahn Sahir 2025-03-25 17:14:24 +00:00
parent 1ba856565d
commit c9352f06f7
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@ class CommandQueueMT {
uint32_t sync_awaiters = 0;
WorkerThreadPool::TaskID pump_task_id = WorkerThreadPool::INVALID_TASK_ID;
uint64_t flush_read_ptr = 0;
std::atomic<bool> pending;
std::atomic<bool> pending{ false };
template <typename T, typename... Args>
_FORCE_INLINE_ void create_command(Args &&...p_args) {

View file

@ -739,7 +739,7 @@ protected:
float baked_exposure = 1.0;
//State to track when radiance cubemap needs updating
GLES3::SkyMaterialData *prev_material;
GLES3::SkyMaterialData *prev_material = nullptr;
Vector3 prev_position = Vector3(0.0, 0.0, 0.0);
float prev_time = 0.0f;
};