gallium: in st_draw_vbo() use ctx->Current.Attrib[] values when arrays are missing...
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 15 Aug 2008 17:50:29 +0000 (11:50 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 15 Aug 2008 17:52:28 +0000 (11:52 -0600)
commit52a6b7e6da8cabf7104c17becb81dea26c44db18
tree09f7a1d251aaa16091b95e6a478580d4a2acf66a
parent4b1b5ca9bd4d861ac8654c510f12b52a1a646ec4
gallium: in st_draw_vbo() use ctx->Current.Attrib[] values when arrays are missing/null

fixes potential segfaults when vertex arrays are missing
src/mesa/state_tracker/st_draw.c