From: Roland Scheidegger Date: Thu, 13 Oct 2005 00:33:46 +0000 (+0000) Subject: fix potential bug when emitting elts with lots of components X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ff023fe3a3fab14c33d20218155f82e1ed76b7e;p=mesa.git fix potential bug when emitting elts with lots of components --- diff --git a/src/mesa/drivers/dri/r200/r200_context.h b/src/mesa/drivers/dri/r200/r200_context.h index e7fb3b6b2a9..8503070965d 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;