Commit d2c05ec0 authored by Marek Olšák's avatar Marek Olšák
Browse files

gallium/u_threaded: don't set is_user_buffer = false in set_vertex_buffers

It's not necessary. An assertion should be enough.
parent 652156b3
Pipeline #246945 waiting for manual action with stages
in 11 seconds
......@@ -1213,7 +1213,6 @@ tc_set_vertex_buffers(struct pipe_context *_pipe,
tc_assert(!src->is_user_buffer);
dst->stride = src->stride;
dst->is_user_buffer = false;
tc_set_resource_reference(&dst->buffer.resource,
src->buffer.resource);
dst->buffer_offset = src->buffer_offset;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment