summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/clear.c9
-rw-r--r--src/mesa/main/clear.h4
2 files changed, 13 insertions, 0 deletions
diff --git a/src/mesa/main/clear.c b/src/mesa/main/clear.c
index 5ee1eb24337..3aa3cfd9a98 100644
--- a/src/mesa/main/clear.c
+++ b/src/mesa/main/clear.c
@@ -486,6 +486,15 @@ clear_bufferuiv(struct gl_context *ctx, GLenum buffer, GLint drawbuffer,
void GLAPIENTRY
+_mesa_ClearBufferuiv_no_error(GLenum buffer, GLint drawbuffer,
+ const GLuint *value)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ clear_bufferuiv(ctx, buffer, drawbuffer, value, true);
+}
+
+
+void GLAPIENTRY
_mesa_ClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value)
{
GET_CURRENT_CONTEXT(ctx);
diff --git a/src/mesa/main/clear.h b/src/mesa/main/clear.h
index acc0e68ed7f..92cc472440d 100644
--- a/src/mesa/main/clear.h
+++ b/src/mesa/main/clear.h
@@ -57,6 +57,10 @@ extern void GLAPIENTRY
_mesa_ClearNamedFramebufferiv(GLuint framebuffer, GLenum buffer,
GLint drawbuffer, const GLint *value);
+void GLAPIENTRY
+_mesa_ClearBufferuiv_no_error(GLenum buffer, GLint drawbuffer,
+ const GLuint *value);
+
extern void GLAPIENTRY
_mesa_ClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value);