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

Henri Verbeet hverbeet at codeweavers.com
Wed Dec 10 03:04:40 CST 2008


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");
-- 
1.5.6.4



--------------060303080205020101020600--



More information about the wine-patches mailing list