wined3d: Declare the texture factor when D3DTOP_BLENDFACTORALPHA is used.

This commit is contained in:
Stefan Dösinger 2008-08-18 14:28:09 +02:00 committed by Alexandre Julliard
parent 9a6bc683e1
commit f8ead75566
1 changed files with 2 additions and 0 deletions

View File

@ -2646,6 +2646,8 @@ static GLuint gen_arbfp_ffp_shader(struct ffp_settings *settings, IWineD3DStateB
bump_used[stage] = TRUE;
tex_read[stage] = TRUE;
luminance_used[stage] = TRUE;
} else if(settings->op[stage].cop == WINED3DTOP_BLENDFACTORALPHA) {
tfactor_used = TRUE;
}
if(arg0 == WINED3DTA_TFACTOR || arg1 == WINED3DTA_TFACTOR || arg2 == WINED3DTA_TFACTOR) {