wined3d: Add a trailing '\n' to a shader_addline() call.

This commit is contained in:
Francois Gouget 2013-05-30 19:08:31 +02:00 committed by Alexandre Julliard
parent 748c3ea9c9
commit 49dbf2464f
1 changed files with 1 additions and 1 deletions

View File

@ -4977,7 +4977,7 @@ static GLhandleARB shader_glsl_generate_ffp_vertex_shader(struct wined3d_shader_
shader_addline(buffer, "r = reflect(normalize(ec_pos.xyz), normal);\n");
shader_addline(buffer, "m = 2.0 * length(vec3(r.x, r.y, r.z + 1.0));\n");
shader_addline(buffer, "gl_TexCoord[%u] = gl_TextureMatrix[%u]"
" * vec4(r.x / m + 0.5, r.y / m + 0.5, 0.0, 1.0);", i, i);
" * vec4(r.x / m + 0.5, r.y / m + 0.5, 0.0, 1.0);\n", i, i);
break;
default: