Fixing memory leak with RefPtr

This commit is contained in:
Dynamitos committed 2020-04-01 02:17:49 +02:00
1 parent 62c2d37cb3
commit 3ba8f2c2a0
37 files changed
+1675 -270

No files matched your search

@@ -6,7 +6,7 @@
using namespace Seele;
using namespace Seele::Vulkan;
Semaphore::Semaphore(WGraphics graphics)
Semaphore::Semaphore(PGraphics graphics)
: graphics(graphics)
{
VkSemaphoreCreateInfo info =
@@ -16,5 +16,5 @@ Semaphore::Semaphore(WGraphics graphics)
Semaphore::~Semaphore()
{
vkDestroySemaphore(graphics->getDevice(), handle, nullptr);
}