aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/clear.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-06-09 23:45:22 -0400
committerIlia Mirkin <[email protected]>2016-06-10 20:32:03 -0400
commit7d7e015381b25ec639633b63d01d851bc32edf23 (patch)
treebb33e7683a0804672a9cc7aebf0aed60b59e2874 /src/mesa/main/clear.h
parent92351a71a81edb53164f1d62b854036e031bb4a1 (diff)
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 <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> Cc: "11.2 12.0" <[email protected]>
Diffstat (limited to 'src/mesa/main/clear.h')
-rw-r--r--src/mesa/main/clear.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/clear.h b/src/mesa/main/clear.h
index c29850676ca..fb3bcdeefbf 100644
--- a/src/mesa/main/clear.h
+++ b/src/mesa/main/clear.h
@@ -75,6 +75,6 @@ _mesa_ClearBufferfi(GLenum buffer, GLint drawbuffer,
extern void GLAPIENTRY
_mesa_ClearNamedFramebufferfi(GLuint framebuffer, GLenum buffer,
- GLfloat depth, GLint stencil);
+ GLint drawbuffer, GLfloat depth, GLint stencil);
#endif