Minor fixes

This commit is contained in:
SirLynix
2022-08-17 20:13:00 +02:00
parent f1549b934c
commit c669c68533
4 changed files with 11 additions and 5 deletions

View File

@@ -330,7 +330,7 @@ namespace Nz
for (auto& vertexBufferPtr : data.vertexBuffers)
{
currentFrame.PushReleaseCallback([pool = m_vertexBufferPool, vertexBuffer = std::move(vertexBufferPtr)]()
currentFrame.PushReleaseCallback([pool = m_vertexBufferPool, vertexBuffer = std::move(vertexBufferPtr)]() mutable
{
pool->vertexBuffers.push_back(std::move(vertexBuffer));
});

View File

@@ -12,7 +12,6 @@
#include <Nazara/Utils/CallOnExit.hpp>
#define VMA_IMPLEMENTATION
#define VMA_USE_STL_CONTAINERS 1
#define VMA_STATIC_VULKAN_FUNCTIONS 0
#include <vma/vk_mem_alloc.h>