Stefan Dösinger : wined3d: BLENDTEXTUREALPHAPM reads the texture.

Alexandre Julliard julliard at winehq.org
Tue Sep 2 08:33:28 CDT 2008


Module: wine
Branch: master
Commit: 422eebd2c33ca4a49aa49d2e67825f35d4afdd4f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=422eebd2c33ca4a49aa49d2e67825f35d4afdd4f

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Wed Aug 20 13:58:35 2008 +0200

wined3d: BLENDTEXTUREALPHAPM reads the texture.

---

 dlls/wined3d/arb_program_shader.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c
index 54c2a83..c96feec 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;




More information about the wine-cvs mailing list