Stefan Dösinger : wined3d: Correct the D3DTOP_LERP parameter order.

Alexandre Julliard julliard at winehq.org
Fri Jul 18 06:46:43 CDT 2008


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

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Mon Jul  7 17:22:00 2008 -0500

wined3d: Correct the D3DTOP_LERP parameter order.

---

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

diff --git a/dlls/wined3d/ati_fragment_shader.c b/dlls/wined3d/ati_fragment_shader.c
index 3dc3d2a..8989aa6 100644
--- a/dlls/wined3d/ati_fragment_shader.c
+++ b/dlls/wined3d/ati_fragment_shader.c
@@ -593,9 +593,9 @@ static GLuint gen_ati_shader(struct texture_stage_op op[MAX_TEXTURES], WineD3D_G
                       debug_register(arg2), debug_argmod(argmod2),
                       debug_register(arg0), debug_argmod(argmod0));
                 GL_EXTCALL(glColorFragmentOp3ATI(GL_LERP_ATI, dstreg, GL_NONE, GL_NONE,
+                                                 arg0, GL_NONE, argmod0,
                                                  arg1, GL_NONE, argmod1,
-                                                 arg2, GL_NONE, argmod2,
-                                                 arg0, GL_NONE, argmod0));
+                                                 arg2, GL_NONE, argmod2));
                 break;
 
             case WINED3DTOP_BUMPENVMAP:




More information about the wine-cvs mailing list