diff options
author | Marek Olšák <maraeo@gmail.com> | 2011-01-10 05:41:47 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2011-02-14 21:50:08 +0100 |
commit | cdca3c58aa2d9549f5188910e2a77b438516714f (patch) | |
tree | 1dac8ede7977948ab814a6bff2077d50a36c7667 /src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c | |
parent | d5062fb3a315c46d77d5c954a3e3c14be1907d33 (diff) | |
download | external_mesa3d-cdca3c58aa2d9549f5188910e2a77b438516714f.zip external_mesa3d-cdca3c58aa2d9549f5188910e2a77b438516714f.tar.gz external_mesa3d-cdca3c58aa2d9549f5188910e2a77b438516714f.tar.bz2 |
gallium: remove pipe_vertex_buffer::max_index
This is redundant to pipe_draw_info::max_index and doesn't really fit
in the optimizations I plan.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c index c98fb3d..1e926fb 100644 --- a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c +++ b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c @@ -169,7 +169,7 @@ static void fse_prepare( struct draw_pt_middle_end *middle, ((const ubyte *) draw->pt.user.vbuffer[i] + draw->pt.vertex_buffer[i].buffer_offset), draw->pt.vertex_buffer[i].stride, - draw->pt.vertex_buffer[i].max_index ); + draw->pt.user.max_index ); } *max_vertices = (draw->render->max_vertex_buffer_bytes / |