Refactor xmake.lua and make some warnings as errors

This commit is contained in:
SirLynix
2023-04-30 21:11:30 +02:00
parent 445ed93fbb
commit 97f1c2c56c
21 changed files with 104 additions and 31 deletions

View File

@@ -50,8 +50,6 @@ namespace Nz
{
constexpr MaterialPropertyType PropertyType = TypeToMaterialPropertyType_v<T>;
using BufferType = typename MaterialPropertyTypeInfo<PropertyType>::BufferType;
materialInstance.UpdateOptionValue(m_optionHash, MaterialPropertyTypeInfo<PropertyType>::EncodeToOption(arg));
}
else