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 <>
Reviewed-by: default avatarMarek Olšák <>
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)
/* 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