Fix some compilation errors

This commit is contained in:
Jérôme Leclercq
2020-08-27 20:02:20 +02:00
parent 91291fd91c
commit df51526841
6 changed files with 26 additions and 24 deletions

View File

@@ -461,6 +461,11 @@ namespace Nz
m_stream << val;
}
void ShaderAstSerializer::Value(UInt64& val)
{
m_stream << val;
}
void ShaderAstSerializer::Variable(ShaderNodes::VariablePtr& var)
{
ShaderNodes::VariableType nodeType = (var) ? var->GetType() : ShaderNodes::VariableType::None;
@@ -722,6 +727,11 @@ namespace Nz
m_stream >> val;
}
void ShaderAstUnserializer::Value(UInt64& val)
{
m_stream >> val;
}
void ShaderAstUnserializer::Variable(ShaderNodes::VariablePtr& var)
{
Int32 nodeTypeInt;