diff options
author | Mathias Fröhlich <[email protected]> | 2018-03-16 06:34:35 +0100 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2018-03-22 04:58:52 +0100 |
commit | 2887c981405a911a26a4a6c7f989b803cc94dd54 (patch) | |
tree | 92c9342df8d8e99aea1f115f8507762e15d5a342 /src/mesa | |
parent | 9f5b6ef2ef4a9ba266250ec02769a46cf490ed7b (diff) |
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 <[email protected]>
Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/vbo/vbo_context.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_context.c b/src/mesa/vbo/vbo_context.c index 6b4f74d72f2..025d6d8de81 100644 --- a/src/mesa/vbo/vbo_context.c +++ b/src/mesa/vbo/vbo_context.c @@ -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; } |