[PATCH] WineD3D: Correct the D3DTOP_LERP parameter order=0A=

Stefan Doesinger stefan at codeweavers.com
Mon Jul 7 17:22:00 CDT 2008


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

------=_NextPart_000_002A_01C8E844.DEA95A80--




More information about the wine-patches mailing list