wined3d: Fix typo breaking 3.0 pshaders color input.

This commit is contained in:
Ivan Gyurdiev 2006-07-07 11:01:27 -06:00 committed by Alexandre Julliard
parent 2280f1af79
commit c58e06548e
1 changed files with 1 additions and 1 deletions

View File

@ -1401,7 +1401,7 @@ void pshader_glsl_input_pack(
if (usage_idx == 0)
shader_addline(buffer, "IN%lu%s = vec4(gl_Color)%s;\n",
i, reg_mask, reg_mask);
if (usage_idx == 1)
else if (usage_idx == 1)
shader_addline(buffer, "IN%lu%s = vec4(gl_SecondaryColor)%s;\n",
i, reg_mask, reg_mask);
else