wined3d: Fix a typo.

This commit is contained in:
H. Verbeet 2007-01-17 21:41:40 +01:00 committed by Alexandre Julliard
parent d429ff5b69
commit 79c7aeab00
1 changed files with 2 additions and 2 deletions

View File

@ -1729,7 +1729,7 @@ void pshader_glsl_texm3x3spec(SHADER_OPCODE_ARG* arg) {
shader_addline(buffer, "tmp0.z = dot(T%u.xyz, %s);\n", reg, src0_param.param_str);
/* Calculate reflection vector, 2*(tmp0.src1)*tmp0-src1
* This is equavalent to reflect(-src1, tmp0); */
* This is equivalent to reflect(-src1, tmp0); */
shader_addline(buffer, "tmp0.xyz = reflect(-(%s), tmp0.xyz);\n", src1_param.param_str);
shader_glsl_append_dst(buffer, arg);
@ -1766,7 +1766,7 @@ void pshader_glsl_texm3x3vspec(SHADER_OPCODE_ARG* arg) {
current_state->texcoord_w[0], current_state->texcoord_w[1], reg);
/* Calculate reflection vector (Assume normal is normalized): RF = 2*(tmp0.tmp1)*tmp0-tmp1
* This is equavalent to reflect(-tmp1, tmp0); */
* This is equivalent to reflect(-tmp1, tmp0); */
shader_addline(buffer, "tmp0.xyz = reflect(-tmp1.xyz, tmp0.xyz);\n");
shader_glsl_append_dst(buffer, arg);