Re: [Mesa-dev] [PATCH] mesa: fix error handling in DrawBuffers

2016-10-24 Thread Emil Velikov
On 21 October 2016 at 12:41, Tapani Pälli wrote: > Patch rearranges error checking so that enum checking provided via > destmask happens before other checks. It needs to be done in this > order because other error checks do not work properly if there were > invalid enums passed. > > Patch also ref

[Mesa-dev] [PATCH] mesa: fix error handling in DrawBuffers

2016-10-21 Thread Tapani Pälli
Patch rearranges error checking so that enum checking provided via destmask happens before other checks. It needs to be done in this order because other error checks do not work properly if there were invalid enums passed. Patch also refines one existing check and it's documentation to match GLES