Shader: Fix return type not being properly registered
This commit is contained in:
parent
5598487e87
commit
f694eb767f
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue