Commit 0312a306 authored by Jason Green's avatar Jason Green Committed by Alexandre Julliard

wined3d: Fix minor typo from shader patch.

parent e7eeb67a
...@@ -763,7 +763,7 @@ static VOID IWineD3DVertexShaderImpl_GenerateShader( ...@@ -763,7 +763,7 @@ static VOID IWineD3DVertexShaderImpl_GenerateShader(
* Account for any inverted textures (render to texture case) by reversing the y coordinate * 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) */ * (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, "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"); shader_addline(&buffer, "END\n\0");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment