From 0312a306762d03b3b94c9e44e1969f3f214aaaed Mon Sep 17 00:00:00 2001 From: Jason Green Date: Thu, 27 Jul 2006 07:59:03 -0400 Subject: [PATCH] wined3d: Fix minor typo from shader patch. --- dlls/wined3d/vertexshader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/vertexshader.c b/dlls/wined3d/vertexshader.c index 923f953652d..7e29e721b6b 100644 --- a/dlls/wined3d/vertexshader.c +++ b/dlls/wined3d/vertexshader.c @@ -763,7 +763,7 @@ static VOID IWineD3DVertexShaderImpl_GenerateShader( * 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"); -- 2.11.4.GIT