draw: use the vertex size
authorZack Rusin <zackr@vmware.com>
Fri, 2 Aug 2013 05:48:36 +0000 (01:48 -0400)
committerZack Rusin <zackr@vmware.com>
Sat, 3 Aug 2013 00:11:18 +0000 (20:11 -0400)
commit2e46a1dcb33618f2873ebaaeb3ffe238f11a31a3
tree9bf338f48bed180df4c6d00812519ea1c865fcbf
parentda1a74f6735ef41cbd4d565434c67ac1a99a240c
draw: use the vertex size

Instead of using the magical 4 use the above computed
vertex size. Doesn't change the behavior, just makes the code
a bit cleaner.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_pipe_vbuf.c