Fixing memory leak with RefPtr
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Seele
|
||||
class Queue
|
||||
{
|
||||
public:
|
||||
Queue(WGraphics graphics, QueueType queueType, uint32 familyIndex, uint32 queueIndex);
|
||||
Queue(PGraphics graphics, QueueType queueType, uint32 familyIndex, uint32 queueIndex);
|
||||
virtual ~Queue();
|
||||
void submitCommandBuffer(PCmdBuffer cmdBuffer, uint32 numSignalSemaphores = 0, VkSemaphore* signalSemaphore = nullptr);
|
||||
inline void submitCommandBuffer(PCmdBuffer cmdBuffer, VkSemaphore signalSemaphore)
|
||||
@@ -26,7 +26,7 @@ namespace Seele
|
||||
return queue;
|
||||
}
|
||||
private:
|
||||
WGraphics graphics;
|
||||
PGraphics graphics;
|
||||
VkQueue queue;
|
||||
uint32 familyIndex;
|
||||
QueueType queueType;
|
||||
|
||||
Reference in New Issue
Block a user