fix potential bug when emitting elts with lots of components
authorRoland Scheidegger <rscheidegger@gmx.ch>
Thu, 13 Oct 2005 00:33:46 +0000 (00:33 +0000)
committerRoland Scheidegger <rscheidegger@gmx.ch>
Thu, 13 Oct 2005 00:33:46 +0000 (00:33 +0000)
src/mesa/drivers/dri/r200/r200_context.h

index e7fb3b6b2a92a64aeb5fa6c51feb9be3ae3b4f9c..8503070965d584ed11e54594fc23244ca6d57531 100644 (file)
@@ -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;