Graphics/RenderTechnique: Add uniform invalidation

Former-commit-id: 8f03073408a03854533d9911eb1a0605ebbb8767
This commit is contained in:
Lynix
2015-06-07 18:25:35 +02:00
parent 358fab7115
commit 0f4cf3c910
6 changed files with 36 additions and 4 deletions

View File

@@ -18,6 +18,8 @@ m_program(0)
NzShader::~NzShader()
{
OnShaderRelease(this);
Destroy();
}
@@ -779,6 +781,8 @@ bool NzShader::PostLinkage()
#undef CacheUniform
OnShaderUniformInvalidated(this);
return true;
}
else