Merge remote-tracking branch 'origin/main' into main
This commit is contained in:
commit
0f9afc2a18
|
@ -14,11 +14,22 @@ namespace SHADE
|
||||||
|
|
||||||
void SHParticleEmitterComponent::OnDestroy(void)
|
void SHParticleEmitterComponent::OnDestroy(void)
|
||||||
{
|
{
|
||||||
|
if (emitterData)
|
||||||
emitterData.Free();
|
emitterData.Free();
|
||||||
|
|
||||||
|
if (particleData)
|
||||||
particleData.Free();
|
particleData.Free();
|
||||||
|
|
||||||
|
if (freelistData)
|
||||||
freelistData.Free();
|
freelistData.Free();
|
||||||
|
|
||||||
|
if (indicesData)
|
||||||
indicesData.Free();
|
indicesData.Free();
|
||||||
|
|
||||||
|
if (drawCallData)
|
||||||
drawCallData.Free();
|
drawCallData.Free();
|
||||||
|
|
||||||
|
if (particleDescriptorSet)
|
||||||
particleDescriptorSet.Free();
|
particleDescriptorSet.Free();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue