diff options
author | José Fonseca <[email protected]> | 2010-04-20 11:07:08 +0200 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-04-20 11:07:08 +0200 |
commit | a6171a9dd99713266091982215bf1008c9ac8e64 (patch) | |
tree | 7be00d0ab09dec383d9acc4fd3b135dfd8ed5c45 /src/gallium/auxiliary/draw/draw_context.c | |
parent | 49ba607abab17cc07e9f163f5415636474fd7940 (diff) | |
parent | 3dcdca433a5d6cde1c0b4d69ff0aa3a5eee26473 (diff) |
Merge branch 'gallium-index-bias'
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_context.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_context.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c index d490d3325c2..4196f01e0b2 100644 --- a/src/gallium/auxiliary/draw/draw_context.c +++ b/src/gallium/auxiliary/draw/draw_context.c @@ -456,12 +456,14 @@ void draw_set_render( struct draw_context *draw, void draw_set_mapped_element_buffer_range( struct draw_context *draw, unsigned eltSize, + int eltBias, unsigned min_index, unsigned max_index, const void *elements ) { draw->pt.user.elts = elements; draw->pt.user.eltSize = eltSize; + draw->pt.user.eltBias = eltBias; draw->pt.user.min_index = min_index; draw->pt.user.max_index = max_index; } @@ -470,10 +472,12 @@ draw_set_mapped_element_buffer_range( struct draw_context *draw, void draw_set_mapped_element_buffer( struct draw_context *draw, unsigned eltSize, + int eltBias, const void *elements ) { draw->pt.user.elts = elements; draw->pt.user.eltSize = eltSize; + draw->pt.user.eltBias = eltBias; draw->pt.user.min_index = 0; draw->pt.user.max_index = 0xffffffff; } |