ColorBackground: Fix shader error

This commit is contained in:
Lynix 2018-03-10 10:38:31 +01:00
parent 3036c32d9d
commit f706ac0a50
1 changed files with 2 additions and 0 deletions

View File

@ -49,7 +49,9 @@ namespace Nz
m_uberShader = UberShaderLibrary::Get("Basic");
ParameterList list;
list.SetParameter("AUTO_TEXCOORDS", true);
list.SetParameter("UNIFORM_VERTEX_DEPTH", true);
m_uberShaderInstance = m_uberShader->Get(list);
const Shader* shader = m_uberShaderInstance->GetShader();