wined3d: Remove a few redundant assignments.

This commit is contained in:
Henri Verbeet 2009-12-09 11:51:15 +01:00 committed by Alexandre Julliard
parent 84bfbf2aa8
commit d2ad2df637
1 changed files with 0 additions and 2 deletions

View File

@ -5275,7 +5275,6 @@ static void state_texfactor_arbfp(DWORD state, IWineD3DStateBlockImpl *statebloc
if(device->shader_backend == &arb_program_shader_backend) {
if (use_ps(stateblock)) return;
device = stateblock->wineD3DDevice;
context->pshader_const_dirty[ARB_FFP_CONST_TFACTOR] = 1;
device->highest_dirty_ps_const = max(device->highest_dirty_ps_const, ARB_FFP_CONST_TFACTOR + 1);
}
@ -5297,7 +5296,6 @@ static void state_arb_specularenable(DWORD state, IWineD3DStateBlockImpl *stateb
if(device->shader_backend == &arb_program_shader_backend) {
if (use_ps(stateblock)) return;
device = stateblock->wineD3DDevice;
context->pshader_const_dirty[ARB_FFP_CONST_SPECULAR_ENABLE] = 1;
device->highest_dirty_ps_const = max(device->highest_dirty_ps_const, ARB_FFP_CONST_SPECULAR_ENABLE + 1);
}