diff options
author | Christoph Bumiller <[email protected]> | 2011-03-13 18:18:17 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-03-13 18:19:22 +0100 |
commit | c448a556e9f97dd059de99048b75ebf6d51e1d7c (patch) | |
tree | ac9642e2bbe6a47871b377dc3a3f2acb6ef5bb68 /src/gallium/drivers/nv50/nv50_stateobj.h | |
parent | 07838ff990a74e3acd95de7042042b49ecc51570 (diff) |
nv50,nvc0: don't assert on cso with 0 vertex elements
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_stateobj.h')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_stateobj.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_stateobj.h b/src/gallium/drivers/nv50/nv50_stateobj.h index cf5b92ef1a8..515e3e78d42 100644 --- a/src/gallium/drivers/nv50/nv50_stateobj.h +++ b/src/gallium/drivers/nv50/nv50_stateobj.h @@ -49,7 +49,7 @@ struct nv50_vertex_stateobj { boolean need_conversion; unsigned vertex_size; unsigned packet_vertex_limit; - struct nv50_vertex_element element[1]; + struct nv50_vertex_element element[0]; }; #endif |