From e529ade0ea5dd47d2943eedc012f30eb5671b55d Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Mon, 26 Jun 2017 17:46:39 +0200 Subject: mesa: add KHR_no_error support for glClear() Signed-off-by: Samuel Pitoiset Reviewed-by: Timothy Arceri --- src/mesa/main/clear.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mesa/main/clear.c') 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 @@ -223,6 +223,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) { -- cgit v1.2.3