mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Fix VoxelGI bake memory leak
This commit is contained in:
@@ -884,6 +884,8 @@ Vector<uint8_t> Voxelizer::get_sdf_3d_image() const {
|
||||
}
|
||||
}
|
||||
|
||||
memdelete_arr(work_memory);
|
||||
|
||||
return image3d;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user