aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/clear.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/clear.c')
-rw-r--r--src/mesa/main/clear.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/clear.c b/src/mesa/main/clear.c
index 1b07a756ee4..3adbe381854 100644
--- a/src/mesa/main/clear.c
+++ b/src/mesa/main/clear.c
@@ -224,6 +224,14 @@ clear(struct gl_context *ctx, GLbitfield mask, bool no_error)
void GLAPIENTRY
+_mesa_Clear_no_error(GLbitfield mask)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ clear(ctx, mask, true);
+}
+
+
+void GLAPIENTRY
_mesa_Clear(GLbitfield mask)
{
GET_CURRENT_CONTEXT(ctx);