diff options
author | Yuanhan Liu <[email protected]> | 2011-12-28 13:54:42 +0800 |
---|---|---|
committer | Yuanhan Liu <[email protected]> | 2011-12-30 13:53:40 +0800 |
commit | efa1fac2158c9146b87f0d4340a864661721de21 (patch) | |
tree | f0e401b64e838f0a35e14d0ed363fde72a7706b1 /src/mesa/vbo/vbo_attrib.h | |
parent | ded02bd54b5925ee222d7f426850312236b4f59d (diff) |
vbo: introduce vbo_sizeof_ib_type() function
introduce vbo_sizeof_ib_type() function to return the index data type
size. I see some place use switch(ib->type) to get the index data type,
which is sort of duplicate.
Signed-off-by: Yuanhan Liu <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_attrib.h')
0 files changed, 0 insertions, 0 deletions