wined3d: Add a trailing '\n' to a couple of shader_addline() calls.

This commit is contained in:
Francois Gouget 2008-06-26 14:08:59 +02:00 committed by Alexandre Julliard
parent e0338be2d4
commit 756b401f8d
1 changed files with 2 additions and 2 deletions

View File

@ -2834,8 +2834,8 @@ static void handle_ps3_input(SHADER_BUFFER *buffer, semantic *semantics_in, sema
if (!semantics_out) {
/* Save gl_FrontColor & gl_FrontSecondaryColor before overwriting them. */
shader_addline(buffer, "vec4 front_color = gl_FrontColor;");
shader_addline(buffer, "vec4 front_secondary_color = gl_FrontSecondaryColor;");
shader_addline(buffer, "vec4 front_color = gl_FrontColor;\n");
shader_addline(buffer, "vec4 front_secondary_color = gl_FrontSecondaryColor;\n");
}
for(i = 0; i < MAX_REG_INPUT; i++) {