Francois Gouget : wined3d: Add trailing '\n's to two shader_addline() calls .

Alexandre Julliard julliard at winehq.org
Tue Nov 13 08:34:48 CST 2007


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Nov 13 09:28:16 2007 +0100

wined3d: Add trailing '\n's to two shader_addline() calls.

---

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

diff --git a/dlls/wined3d/vertexshader.c b/dlls/wined3d/vertexshader.c
index 4e2a7c5..286565a 100644
--- a/dlls/wined3d/vertexshader.c
+++ b/dlls/wined3d/vertexshader.c
@@ -399,8 +399,8 @@ static VOID IWineD3DVertexShaderImpl_GenerateShader(
          * 1.0 or -1.0 to turn the rendering upside down for offscreen rendering. PosFixup.x
          * contains 1.0 to allow a mad, but arb vs swizzles are too restricted for that.
          */
-        shader_addline(&buffer, "ADD TMP_OUT.x, TMP_OUT.x, posFixup.z;");
-        shader_addline(&buffer, "MAD TMP_OUT.y, TMP_OUT.y, posFixup.y, posFixup.w;");
+        shader_addline(&buffer, "ADD TMP_OUT.x, TMP_OUT.x, posFixup.z;\n");
+        shader_addline(&buffer, "MAD TMP_OUT.y, TMP_OUT.y, posFixup.y, posFixup.w;\n");
 
         /* Z coord [0;1]->[-1;1] mapping, see comment in transform_projection in state.c
          * and the glsl equivalent




More information about the wine-cvs mailing list