Shader: Fix return type not being properly registered
This commit is contained in:
@@ -233,7 +233,7 @@ namespace Nz
|
|||||||
|
|
||||||
void Register(const Function& func)
|
void Register(const Function& func)
|
||||||
{
|
{
|
||||||
Register(func.returnType);
|
cache.Register(*func.returnType);
|
||||||
Register(func.parameters);
|
Register(func.parameters);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user