diff options
author | Fredrik Höglund <[email protected]> | 2012-06-18 22:50:03 +0200 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-06-19 07:57:22 -0600 |
commit | c4c8c7a8f9757f8670ec9cde514cee11ed33c4cb (patch) | |
tree | 85ffbad7190779dafe50a39832866bdf41ff2fc5 /src/mesa/state_tracker/st_draw.c | |
parent | af372129e5c1722a3d53dd1fc2f3409207c12f7e (diff) |
st/mesa: Add support for GL_ARB_base_instance
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_draw.c')
-rw-r--r-- | src/mesa/state_tracker/st_draw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index db8caa566a2..4dc09e7fb5c 100644 --- a/src/mesa/state_tracker/st_draw.c +++ b/src/mesa/state_tracker/st_draw.c @@ -246,6 +246,7 @@ st_draw_vbo(struct gl_context *ctx, info.mode = translate_prim( ctx, prims[i].mode ); info.start = prims[i].start; info.count = prims[i].count; + info.start_instance = prims[i].base_instance; info.instance_count = prims[i].num_instances; info.index_bias = prims[i].basevertex; if (!ib) { |