OSDN Git Service

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 e7fb3b6..8503070 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;