diff options
author | José Fonseca <[email protected]> | 2008-08-13 12:13:54 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-08-14 11:01:42 +0100 |
commit | d756f9512d295531ff6a600c736a68ac2dcff58b (patch) | |
tree | c61689191b81053ac47403214d01e1323ab10645 /src/gallium/auxiliary/translate | |
parent | 73467e1080d94e6d5cfb52f71c845c09a78adcd9 (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.h | 2 |
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]; }; |