Fixed possible bug

Former-commit-id: 3ce9541e99d91140547ed8b60297d3d3785a0630
This commit is contained in:
Lynix 2014-08-25 20:23:00 +02:00
parent 6e27acc492
commit 9b1f63ce11
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ class NAZARA_API NzMaterial : public NzResource
struct ShaderInstance
{
const NzShader* shader;
NzUberShaderInstance* uberInstance;
NzUberShaderInstance* uberInstance = nullptr;
int uniforms[nzMaterialUniform_Max+1];
};