vbo: Remove redundant set of DriverFlags.NewArray in vbo_bind_arrays.
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>
This commit is contained in:

committed by
Mathias Fröhlich

parent
9f5b6ef2ef
commit
2887c98140
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user