mesa: add drawbuffer argument to ClearNamedFramebufferfi
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 10 Jun 2016 03:45:22 +0000 (23:45 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 11 Jun 2016 00:32:03 +0000 (20:32 -0400)
commit7d7e015381b25ec639633b63d01d851bc32edf23
treebb33e7683a0804672a9cc7aebf0aed60b59e2874
parent92351a71a81edb53164f1d62b854036e031bb4a1
mesa: add drawbuffer argument to ClearNamedFramebufferfi

This was fixed in revision 47 of the ARB_dsa spec in Oct 22, 2015. Since
it's horrible to have differing APIs across library versions, we should
attempt to minimize the impact by backporting it as far as possible and
hope no one notices.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Cc: "11.2 12.0" <mesa-stable@lists.freedesktop.org>
src/mapi/glapi/gen/ARB_direct_state_access.xml
src/mesa/main/clear.c
src/mesa/main/clear.h