Don't accidentally clear vertex shader constant dirty flag

This commit is contained in:
espes 2015-08-25 14:45:32 +10:00
parent 58ac41fae2
commit 48cb7c1c52
1 changed files with 1 additions and 1 deletions

View File

@ -4525,7 +4525,7 @@ static void pgraph_method(NV2AState *d,
assert(const_load < NV2A_VERTEXSHADER_CONSTANTS);
VertexShaderConstant *constant = &pg->constants[const_load];
constant->dirty = (parameter != constant->data[slot%4]);
constant->dirty |= (parameter != constant->data[slot%4]);
constant->data[slot%4] = parameter;
if (slot % 4 == 3) {