Shader: Fix return type not being properly registered

This commit is contained in:
Jérôme Leclercq
2021-03-11 23:20:35 +01:00
parent 5598487e87
commit f694eb767f

View File

@@ -233,7 +233,7 @@ namespace Nz
void Register(const Function& func)
{
Register(func.returnType);
cache.Register(*func.returnType);
Register(func.parameters);
}