From 6ff023fe3a3fab14c33d20218155f82e1ed76b7e Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Thu, 13 Oct 2005 00:33:46 +0000 Subject: fix potential bug when emitting elts with lots of components --- src/mesa/drivers/dri/r200/r200_context.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mesa') diff --git a/src/mesa/drivers/dri/r200/r200_context.h b/src/mesa/drivers/dri/r200/r200_context.h index e7fb3b6b2a..8503070965 100644 --- a/src/mesa/drivers/dri/r200/r200_context.h +++ b/src/mesa/drivers/dri/r200/r200_context.h @@ -651,7 +651,8 @@ struct r200_tcl_info { GLint last_offset; GLuint hw_primitive; - struct r200_dma_region *aos_components[8]; +/* FIXME: what's the maximum number of components? */ + struct r200_dma_region *aos_components[11]; GLuint nr_aos_components; GLuint *Elts; -- cgit v1.2.3