summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-08-13 12:13:54 +0100
committerJosé Fonseca <[email protected]>2008-08-14 11:01:42 +0100
commitd756f9512d295531ff6a600c736a68ac2dcff58b (patch)
treec61689191b81053ac47403214d01e1323ab10645 /src
parent73467e1080d94e6d5cfb52f71c845c09a78adcd9 (diff)
translate: Draw can request up to PIPE_MAX_ATTRIBS + 1 vertex elements.
Diffstat (limited to 'src')
-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 c3b754a902b..650cd81fa60 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];
};