summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/translate
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-13 12:13:54 +0100
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-14 11:01:42 +0100
commitd756f9512d295531ff6a600c736a68ac2dcff58b (patch)
treec61689191b81053ac47403214d01e1323ab10645 /src/gallium/auxiliary/translate
parent73467e1080d94e6d5cfb52f71c845c09a78adcd9 (diff)
translate: Draw can request up to PIPE_MAX_ATTRIBS + 1 vertex elements.
Diffstat (limited to 'src/gallium/auxiliary/translate')
-rw-r--r--src/gallium/auxiliary/translate/translate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/translate/translate.h b/src/gallium/auxiliary/translate/translate.h
index c3b754a902..650cd81fa6 100644
--- a/src/gallium/auxiliary/translate/translate.h
+++ b/src/gallium/auxiliary/translate/translate.h
@@ -57,7 +57,7 @@ struct translate_element
struct translate_key {
unsigned output_stride;
unsigned nr_elements;
- struct translate_element element[PIPE_MAX_ATTRIBS];
+ struct translate_element element[PIPE_MAX_ATTRIBS + 1];
};