mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
vulkan: fix some more memory leaks
This commit is contained in:
@@ -204,11 +204,11 @@ namespace love {
|
||||
uint32_t imageIndex = 0;
|
||||
bool framebufferResized = false;
|
||||
VmaAllocator vmaAllocator = VK_NULL_HANDLE;
|
||||
graphics::Texture* standardTexture = nullptr;
|
||||
std::unique_ptr<Texture> standardTexture = nullptr;
|
||||
std::unique_ptr<StreamBuffer> quadIndexBuffer = nullptr;
|
||||
// we need an array of draw buffers, since the frames are being rendered asynchronously
|
||||
// and we can't (or shouldn't) update the contents of the buffers while they're still in flight / being rendered.
|
||||
std::vector<BatchedDrawBuffers> batchedDrawBuffers;
|
||||
StreamBuffer* quadIndexBuffer = nullptr;
|
||||
graphics::Texture* currentTexture = nullptr;
|
||||
std::vector<std::pair<graphics::Shader::BuiltinUniformData, graphics::StreamBuffer*>> uniformBufferMap;
|
||||
std::vector<std::pair<DecriptorSetConfiguration, std::vector<VkDescriptorSet>>> descriptorSetsMap;
|
||||
|
||||
Reference in New Issue
Block a user