diff options
author | Ilia Mirkin <[email protected]> | 2014-12-04 18:56:36 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-12-05 07:23:48 -0500 |
commit | c3bed13604fdcd50324f3535ef38d25f1e08245d (patch) | |
tree | 68cbc5cbae24ea73b6cba2566531753b32781730 /src/gallium/auxiliary | |
parent | fb434e675f4d9e6685eefd11135ff8630b25ed6b (diff) |
util/primconvert: take ib offset into account
Signed-off-by: Ilia Mirkin <[email protected]>
Cc: "10.4 10.3" <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/indices/u_primconvert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/indices/u_primconvert.c b/src/gallium/auxiliary/indices/u_primconvert.c index 539ca538cc1..46327819006 100644 --- a/src/gallium/auxiliary/indices/u_primconvert.c +++ b/src/gallium/auxiliary/indices/u_primconvert.c @@ -137,7 +137,7 @@ util_primconvert_draw_vbo(struct primconvert_context *pc, src = ib->user_buffer; if (!src) { src = pipe_buffer_map(pc->pipe, ib->buffer, - PIPE_TRANSFER_READ, &src_transfer); + PIPE_TRANSFER_READ, &src_transfer) + ib->offset; } } else { |