From 18bd5d2c8c32897a0d549ea55a874a3832935f6f Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 18 Jul 2017 12:49:22 +0200 Subject: mesa: add KHR_no_error support to glBindSamplers() Signed-off-by: Samuel Pitoiset Reviewed-by: Timothy Arceri --- src/mesa/main/samplerobj.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mesa/main/samplerobj.c') diff --git a/src/mesa/main/samplerobj.c b/src/mesa/main/samplerobj.c index 77496ed8499..cdfd753a8b9 100644 --- a/src/mesa/main/samplerobj.c +++ b/src/mesa/main/samplerobj.c @@ -411,6 +411,14 @@ bind_samplers(struct gl_context *ctx, GLuint first, GLsizei count, } +void GLAPIENTRY +_mesa_BindSamplers_no_error(GLuint first, GLsizei count, const GLuint *samplers) +{ + GET_CURRENT_CONTEXT(ctx); + bind_samplers(ctx, first, count, samplers, true); +} + + void GLAPIENTRY _mesa_BindSamplers(GLuint first, GLsizei count, const GLuint *samplers) { -- cgit v1.2.3