Commit 0607ceb6 authored by Erik Faye-Lund 's avatar Erik Faye-Lund
Browse files

mesa/st: remove impossible error-check



st_setup_current never sets this flag, and it's already checked against
right before. So let's remove this pointless check.
Signed-off-by: Erik Faye-Lund 's avatarErik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
parent c81fbb42
......@@ -564,8 +564,6 @@ st_update_array(struct st_context *st)
/* Setup current uploads */
first_upload_vbuffer = num_vbuffers;
st_setup_current(st, vp, vp_variant, velements, vbuffer, &num_vbuffers);
if (st->vertex_array_out_of_memory)
return;
/* Set the array into cso */
num_velements = vp_variant->num_inputs;
......
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