mesa: simplify _mesa_update_draw_buffers()
authorBrian Paul <brianp@vmware.com>
Fri, 8 Aug 2014 21:10:31 +0000 (15:10 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 11 Aug 2014 15:44:51 +0000 (09:44 -0600)
commit904ed3b3153a73b601085ed22d2ba3693812b1cf
tree742615899599e4df0f387fca04ab3f5cab71e5f0
parent39b40ad144f5f587e505b45048e33a03641ba857
mesa: simplify _mesa_update_draw_buffers()

There's no need to copy the array of DrawBuffer enums to a temp array.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/main/buffers.c