diff options
author | marha <marha@users.sourceforge.net> | 2012-05-09 15:52:33 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-05-09 15:52:33 +0200 |
commit | 8a448108ec0bc3a0a488b2234e0d12aee503c67c (patch) | |
tree | 22e71069622608062b2f5eab3ef485438cd32122 /mesalib/src/mesa/vbo/vbo_exec_draw.c | |
parent | 62068b3bc534d504e40df34847b4436f1a496f35 (diff) | |
download | vcxsrv-8a448108ec0bc3a0a488b2234e0d12aee503c67c.tar.gz vcxsrv-8a448108ec0bc3a0a488b2234e0d12aee503c67c.tar.bz2 vcxsrv-8a448108ec0bc3a0a488b2234e0d12aee503c67c.zip |
libX11 mesa xserver xkeyboard-config
Diffstat (limited to 'mesalib/src/mesa/vbo/vbo_exec_draw.c')
-rw-r--r-- | mesalib/src/mesa/vbo/vbo_exec_draw.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mesalib/src/mesa/vbo/vbo_exec_draw.c b/mesalib/src/mesa/vbo/vbo_exec_draw.c index da5ca695e..77db8ec7f 100644 --- a/mesalib/src/mesa/vbo/vbo_exec_draw.c +++ b/mesalib/src/mesa/vbo/vbo_exec_draw.c @@ -257,7 +257,7 @@ vbo_exec_bind_arrays( struct gl_context *ctx ) } _mesa_set_varying_vp_inputs( ctx, varying_inputs ); - ctx->Driver.UpdateState(ctx, _NEW_ARRAY); + ctx->NewDriverState |= ctx->DriverFlags.NewArray; } @@ -407,8 +407,7 @@ vbo_exec_vtx_flush(struct vbo_exec_context *exec, GLboolean keepUnmapped) exec->vtx.vert_count); vbo_context(ctx)->draw_prims( ctx, - exec->vtx.inputs, - exec->vtx.prim, + exec->vtx.prim, exec->vtx.prim_count, NULL, GL_TRUE, |