Module: wine Branch: refs/heads/master Commit: c58e06548e1c3ae491cce50d4a84674a8a9fc8ba URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=c58e06548e1c3ae491cce50d...
Author: Ivan Gyurdiev ivg231@gmail.com Date: Fri Jul 7 11:01:27 2006 -0600
wined3d: Fix typo breaking 3.0 pshaders color input.
---
dlls/wined3d/glsl_shader.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c index 215090c..46965bf 100644 --- a/dlls/wined3d/glsl_shader.c +++ b/dlls/wined3d/glsl_shader.c @@ -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