summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorRoland Scheidegger <rscheidegger@gmx.ch>2005-10-13 00:33:46 +0000
committerRoland Scheidegger <rscheidegger@gmx.ch>2005-10-13 00:33:46 +0000
commit6ff023fe3a3fab14c33d20218155f82e1ed76b7e (patch)
treebe04d53f8ec6a81d3b6225ab4efe912dd00bb55b /src/mesa/drivers
parent96e1ccedec19a3314b43461387c8c391a43ba78b (diff)
fix potential bug when emitting elts with lots of components
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/r200/r200_context.h3
1 files changed, 2 insertions, 1 deletions
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;