From 79c7aeab0047f82ba4d1f8c3e13d9362aef26006 Mon Sep 17 00:00:00 2001 From: "H. Verbeet" Date: Wed, 17 Jan 2007 21:41:40 +0100 Subject: [PATCH] wined3d: Fix a typo. --- dlls/wined3d/glsl_shader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c index 2ace12c6b8e..4bc4e21d506 100644 --- a/dlls/wined3d/glsl_shader.c +++ b/dlls/wined3d/glsl_shader.c @@ -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);