Jason Green : wined3d: Fix minor typo from shader patch.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jul 27 08:18:49 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 0312a306762d03b3b94c9e44e1969f3f214aaaed
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=0312a306762d03b3b94c9e44e1969f3f214aaaed

Author: Jason Green <jave27 at gmail.com>
Date:   Thu Jul 27 07:59:03 2006 -0400

wined3d: Fix minor typo from shader patch.

---

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

diff --git a/dlls/wined3d/vertexshader.c b/dlls/wined3d/vertexshader.c
index 923f953..7e29e72 100644
--- a/dlls/wined3d/vertexshader.c
+++ b/dlls/wined3d/vertexshader.c
@@ -763,7 +763,7 @@ #endif
          * Account for any inverted textures (render to texture case) by reversing the y coordinate
          *  (this is handled in drawPrim() when it sets the MODELVIEW and PROJECTION matrices) */
         shader_addline(&buffer, "MOV result.position, TMP_OUT;\n");
-        shader_addline(&buffer, "MUL result.position.y, TMP_OUT.y, state.matrix.projection.row[1].y;\n");
+        shader_addline(&buffer, "MUL result.position.y, TMP_OUT.y, PROJECTION.y;\n");
         
         shader_addline(&buffer, "END\n\0"); 
 




More information about the wine-cvs mailing list