Renderer: Add release queue to fix deletion while use

This commit is contained in:
Jérôme Leclercq
2021-05-14 02:04:47 +02:00
parent 51ecff2912
commit f280cff0a2
13 changed files with 163 additions and 15 deletions

View File

@@ -7,5 +7,10 @@
namespace Nz
{
RenderImage::~RenderImage() = default;
RenderImage::~RenderImage()
{
FlushReleaseQueue();
}
RenderImage::Releasable::~Releasable() = default;
}