Fix ShaderNodes on macos

This commit is contained in:
ImperatorS79
2020-11-27 14:44:19 +01:00
parent ddc8fffed1
commit 9a613c6fd6
7 changed files with 12 additions and 11 deletions

View File

@@ -332,7 +332,7 @@ void BufferField::PopulateFieldList(std::size_t structIndex, const std::string&
else if constexpr (std::is_same_v<T, std::size_t>)
PopulateFieldList(arg, prefix + member.name + ".");
else
static_assert(AlwaysFalse<T>::value, "non-exhaustive visitor");
static_assert(Nz::AlwaysFalse<T>::value, "non-exhaustive visitor");
},
member.type);
}

View File

@@ -2,6 +2,7 @@
#include <Nazara/Shader/ShaderBuilder.hpp>
#include <QtWidgets/QDoubleSpinBox>
#include <QtWidgets/QFormLayout>
#include <QtCore/QJsonArray>
#include <stdexcept>
template<std::size_t ToComponentCount>