vbo: Remove redundant set of DriverFlags.NewArray in vbo_bind_arrays.
authorMathias Fröhlich <mathias.froehlich@web.de>
Fri, 16 Mar 2018 05:34:35 +0000 (06:34 +0100)
committerMathias Fröhlich <Mathias.Froehlich@gmx.net>
Thu, 22 Mar 2018 03:58:52 +0000 (04:58 +0100)
Now that setting vbo...recalculate_inputs also sets the
DriverFlags.NewArray bits into the NewDriverState setting that from
vbo_bind_arrays is redundant.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/vbo/vbo_context.c

index 6b4f74d72f29b5d9e8b854b0deb9ffae795bf254..025d6d8de819c5c143972117625a86fa15eb7b33 100644 (file)
@@ -317,7 +317,6 @@ vbo_bind_arrays(struct gl_context *ctx)
    if (exec->array.recalculate_inputs) {
       /* Finally update the inputs array */
       _vbo_update_inputs(ctx, &vbo->draw_arrays);
-      ctx->NewDriverState |= ctx->DriverFlags.NewArray;
       exec->array.recalculate_inputs = GL_FALSE;
    }