From 422eebd2c33ca4a49aa49d2e67825f35d4afdd4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Wed, 20 Aug 2008 13:58:35 +0200 Subject: [PATCH] wined3d: BLENDTEXTUREALPHAPM reads the texture. --- dlls/wined3d/arb_program_shader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c index 54c2a8382ce..c96feecfc12 100644 --- a/dlls/wined3d/arb_program_shader.c +++ b/dlls/wined3d/arb_program_shader.c @@ -2641,6 +2641,7 @@ static GLuint gen_arbfp_ffp_shader(struct ffp_settings *settings, IWineD3DStateB if(arg2 == WINED3DTA_TEXTURE) tex_read[stage] = TRUE; if(settings->op[stage].cop == WINED3DTOP_BLENDTEXTUREALPHA) tex_read[stage] = TRUE; + if(settings->op[stage].cop == WINED3DTOP_BLENDTEXTUREALPHAPM) tex_read[stage] = TRUE; if(settings->op[stage].cop == WINED3DTOP_BUMPENVMAP) { bump_used[stage] = TRUE; tex_read[stage] = TRUE;