mesa/clear: update ClearBufferfv error handling for GL 4.5 spec
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 12 Feb 2016 17:59:25 +0000 (12:59 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 12 Feb 2016 23:22:49 +0000 (18:22 -0500)
commita663aa2a3793eaaead9332cdb315c31389254276
tree706349d8d747e8f5c7802bdacad326c58466e3a4
parent3a0051bea998dc26feed9ed1468714b89de417c3
mesa/clear: update ClearBufferfv error handling for GL 4.5 spec

This fixes

dEQP-GLES31.functional.debug.negative_coverage.get_error.buffer.clear_bufferfv

and brings the logic up to spec with GL 4.5

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/clear.c