summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2018-12-04 13:52:25 +0100
committerErik Faye-Lund <[email protected]>2019-04-29 10:28:38 +0000
commit0607ceb655d594bbc9b3240fb66be217acb36b8a (patch)
tree9b1b15c451791766a89e31b679432590e481b79e /src
parentc81fbb42d94293e78e9c767bb00ad22855f9e0b0 (diff)
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 <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_atom_array.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_atom_array.c b/src/mesa/state_tracker/st_atom_array.c
index c5e0792cc1d..21e00ff17b9 100644
--- a/src/mesa/state_tracker/st_atom_array.c
+++ b/src/mesa/state_tracker/st_atom_array.c
@@ -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;