Don't use nested struct definitions in tnl_clipspace_fastpath.
Make attr_type into a top-level type: tnl_attr_type See bug 7340.
This commit is contained in:
@@ -87,7 +87,7 @@ void _tnl_register_fastpath( struct tnl_clipspace *vtx,
|
||||
fastpath->attr_count = vtx->attr_count;
|
||||
fastpath->match_strides = match_strides;
|
||||
fastpath->func = vtx->emit;
|
||||
fastpath->attr = (struct attr_type *)
|
||||
fastpath->attr = (struct tnl_attr_type *)
|
||||
_mesa_malloc(vtx->attr_count * sizeof(fastpath->attr[0]));
|
||||
|
||||
for (i = 0; i < vtx->attr_count; i++) {
|
||||
|
Reference in New Issue
Block a user