forked from Dynamitos/Seele
Fixing memory leak with RefPtr
This commit is contained in:
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);
|
||||
}
|
||||
Reference in new issue
Block a user