mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix uninitialised member vars in CommandQueueMT and RasterizerSceneGLES3
This commit is contained in:
parent
1ba856565d
commit
c9352f06f7
2 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ class CommandQueueMT {
|
||||||
uint32_t sync_awaiters = 0;
|
uint32_t sync_awaiters = 0;
|
||||||
WorkerThreadPool::TaskID pump_task_id = WorkerThreadPool::INVALID_TASK_ID;
|
WorkerThreadPool::TaskID pump_task_id = WorkerThreadPool::INVALID_TASK_ID;
|
||||||
uint64_t flush_read_ptr = 0;
|
uint64_t flush_read_ptr = 0;
|
||||||
std::atomic<bool> pending;
|
std::atomic<bool> pending{ false };
|
||||||
|
|
||||||
template <typename T, typename... Args>
|
template <typename T, typename... Args>
|
||||||
_FORCE_INLINE_ void create_command(Args &&...p_args) {
|
_FORCE_INLINE_ void create_command(Args &&...p_args) {
|
||||||
|
|
|
@ -739,7 +739,7 @@ protected:
|
||||||
float baked_exposure = 1.0;
|
float baked_exposure = 1.0;
|
||||||
|
|
||||||
//State to track when radiance cubemap needs updating
|
//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);
|
Vector3 prev_position = Vector3(0.0, 0.0, 0.0);
|
||||||
float prev_time = 0.0f;
|
float prev_time = 0.0f;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue