Henri Verbeet : wined3d: Use the actual fixup for the stage in gen_ati_shader().

Alexandre Julliard julliard at winehq.org
Wed Dec 10 07:41:52 CST 2008


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Wed Dec 10 10:04:40 2008 +0100

wined3d: Use the actual fixup for the stage in gen_ati_shader().

This fixes a regression introduced by commit
89139b75898fb5ac7094a641b0d91a06936a6c51.

---

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

diff --git a/dlls/wined3d/ati_fragment_shader.c b/dlls/wined3d/ati_fragment_shader.c
index 90ca192..f88de9e 100644
--- a/dlls/wined3d/ati_fragment_shader.c
+++ b/dlls/wined3d/ati_fragment_shader.c
@@ -351,6 +351,7 @@ static GLuint gen_ati_shader(const struct texture_stage_op op[MAX_TEXTURES], con
         if(op[stage].cop != WINED3DTOP_BUMPENVMAP &&
            op[stage].cop != WINED3DTOP_BUMPENVMAPLUMINANCE) continue;
 
+        fixup = op[stage].color_correction;
         if (fixup.x_source != CHANNEL_SOURCE_X || fixup.y_source != CHANNEL_SOURCE_Y)
         {
             FIXME("Swizzles not implemented\n");




More information about the wine-cvs mailing list