Fix Linux compilation
This commit is contained in:
parent
f85d11e55b
commit
8028044966
|
|
@ -10,8 +10,8 @@ namespace Nz
|
||||||
{
|
{
|
||||||
inline RenderPass::RenderPass(std::vector<Attachment> attachments, std::vector<SubpassDescription> subpassDescriptions, std::vector<SubpassDependency> subpassDependencies) :
|
inline RenderPass::RenderPass(std::vector<Attachment> attachments, std::vector<SubpassDescription> subpassDescriptions, std::vector<SubpassDependency> subpassDependencies) :
|
||||||
m_attachments(std::move(attachments)),
|
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))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@
|
||||||
#include <Nazara/Prerequisites.hpp>
|
#include <Nazara/Prerequisites.hpp>
|
||||||
#include <Nazara/Renderer/Config.hpp>
|
#include <Nazara/Renderer/Config.hpp>
|
||||||
#include <Nazara/Utility/Enums.hpp>
|
#include <Nazara/Utility/Enums.hpp>
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
namespace Nz
|
namespace Nz
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
namespace Nz
|
namespace Nz
|
||||||
{
|
{
|
||||||
inline Model::Model(std::shared_ptr<GraphicalMesh> graphicalMesh) :
|
Model::Model(std::shared_ptr<GraphicalMesh> graphicalMesh) :
|
||||||
m_graphicalMesh(std::move(graphicalMesh))
|
m_graphicalMesh(std::move(graphicalMesh))
|
||||||
{
|
{
|
||||||
m_subMeshes.reserve(m_graphicalMesh->GetSubMeshCount());
|
m_subMeshes.reserve(m_graphicalMesh->GetSubMeshCount());
|
||||||
|
|
|
||||||
|
|
@ -72,6 +72,7 @@ namespace Nz
|
||||||
else
|
else
|
||||||
UnrecognizedLine();
|
UnrecognizedLine();
|
||||||
#endif
|
#endif
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue