wined3d: Set up the shaders when delaying fixed func applying.
This commit is contained in:
parent
199a3468bf
commit
6ec741e766
|
@ -2903,6 +2903,8 @@ static void fragment_prog_arbfp(DWORD state, IWineD3DStateBlockImpl *stateblock,
|
|||
}
|
||||
state_texfactor_arbfp(STATE_RENDER(WINED3DRS_TEXTUREFACTOR), stateblock, context);
|
||||
state_arb_specularenable(STATE_RENDER(WINED3DRS_SPECULARENABLE), stateblock, context);
|
||||
} else if(use_pshader && !isStateDirty(context, device->StateTable[STATE_VSHADER].representative)) {
|
||||
device->shader_backend->shader_select((IWineD3DDevice *)stateblock->wineD3DDevice, use_pshader, use_vshader);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue