summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/translate/translate.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-04-26 14:49:42 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-04-26 16:05:06 +0100
commitfc431a58dc1446383edc11aec2a0b7de5b363e5e (patch)
tree6857e13f0b44bb5e24a4c7ebf66c68478249dd87 /src/gallium/auxiliary/translate/translate.h
parentb02f1c86f5bf8b1169776975491c7df929e94e2c (diff)
translate: Take and respect a max_index argument.
Diffstat (limited to 'src/gallium/auxiliary/translate/translate.h')
-rw-r--r--src/gallium/auxiliary/translate/translate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/translate/translate.h b/src/gallium/auxiliary/translate/translate.h
index 54ed2c1a4b..edd95e0788 100644
--- a/src/gallium/auxiliary/translate/translate.h
+++ b/src/gallium/auxiliary/translate/translate.h
@@ -76,7 +76,8 @@ struct translate {
void (*set_buffer)( struct translate *,
unsigned i,
const void *ptr,
- unsigned stride );
+ unsigned stride,
+ unsigned max_index );
void (PIPE_CDECL *run_elts)( struct translate *,
const unsigned *elts,