wined3d: Set up the shaders when delaying fixed func applying.

This commit is contained in:
Stefan Dösinger 2008-12-11 14:16:25 +01:00 committed by Alexandre Julliard
parent 199a3468bf
commit 6ec741e766
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}