mesa: rework error handling in glDrawBuffers
authorMarek Olšák <marek.olsak@amd.com>
Sat, 27 Apr 2019 02:06:20 +0000 (22:06 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 2 May 2019 01:15:33 +0000 (21:15 -0400)
commitf753f913f5a14c389b76ef6d43a87b9476e6c972
tree9d9bd0f699fcddd737d3fafd6d1fca3121c060af
parent0c99b5ace888d1bb81d8f334e4ea019547fe69c4
mesa: rework error handling in glDrawBuffers

It's needed by the next pbuffer fix, which changes the behavior of
draw_buffer_enum_to_bitmask, so it can't be used to help with error
checking.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/main/buffers.c