Fix Linux compilation

This commit is contained in:
Jérôme Leclercq 2021-04-17 19:45:43 +02:00
parent f85d11e55b
commit 8028044966
4 changed files with 5 additions and 3 deletions

View File

@ -10,8 +10,8 @@ namespace Nz
{
inline RenderPass::RenderPass(std::vector<Attachment> attachments, std::vector<SubpassDescription> subpassDescriptions, std::vector<SubpassDependency> subpassDependencies) :
m_attachments(std::move(attachments)),
m_subpassDescriptions(std::move(subpassDescriptions)),
m_subpassDependencies(std::move(subpassDependencies))
m_subpassDependencies(std::move(subpassDependencies)),
m_subpassDescriptions(std::move(subpassDescriptions))
{
}

View File

@ -10,6 +10,7 @@
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Renderer/Config.hpp>
#include <Nazara/Utility/Enums.hpp>
#include <functional>
namespace Nz
{

View File

@ -9,7 +9,7 @@
namespace Nz
{
inline Model::Model(std::shared_ptr<GraphicalMesh> graphicalMesh) :
Model::Model(std::shared_ptr<GraphicalMesh> graphicalMesh) :
m_graphicalMesh(std::move(graphicalMesh))
{
m_subMeshes.reserve(m_graphicalMesh->GetSubMeshCount());

View File

@ -72,6 +72,7 @@ namespace Nz
else
UnrecognizedLine();
#endif
break;
}
}