glsl: fix incorrect attribute size

This commit is contained in:
Brian Paul
2009-08-13 12:43:09 -06:00
parent 53dfd5d870
commit 03ba461c19

View File

@@ -445,7 +445,7 @@ _slang_resolve_attributes(struct gl_shader_program *shProg,
if (inputsRead & (1 << i)) {
_mesa_add_attribute(linkedProg->Attributes,
_slang_vert_attrib_name(i),
1, /* size */
4, /* size in floats */
_slang_vert_attrib_type(i),
-1 /* attrib/input */);
}