OSDN Git Service

vbo: Pull the _mesa_set_draw_vao calls out of the if clauses.
authorMathias Fröhlich <mathias.froehlich@web.de>
Mon, 29 Oct 2018 05:13:19 +0000 (06:13 +0100)
committerMathias Fröhlich <mathias.froehlich@web.de>
Thu, 1 Nov 2018 05:08:49 +0000 (06:08 +0100)
commit952a5da584971037cbab7b338977ff7257bc4009
tree36d912866e831723e0d966b9e5bb3277ef602108
parentb00cb994ef35a35151eb4b970c0e252dee04f221
vbo: Pull the _mesa_set_draw_vao calls out of the if clauses.

These calls are just the same in each if branch. So pull that
before the if.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/vbo/vbo_exec_array.c