From d952485d7c4b500753b825053ea28c0fe5bd1c3a Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Fri, 21 Jul 2017 11:05:39 +0200 Subject: mesa: add KHR_no_error support to glBindTextures() Signed-off-by: Samuel Pitoiset Reviewed-by: Timothy Arceri --- src/mesa/main/texobj.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mesa/main/texobj.c') diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index aa3e4190f52..b698569509f 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -1872,6 +1872,14 @@ bind_textures(struct gl_context *ctx, GLuint first, GLsizei count, } +void GLAPIENTRY +_mesa_BindTextures_no_error(GLuint first, GLsizei count, const GLuint *textures) +{ + GET_CURRENT_CONTEXT(ctx); + bind_textures(ctx, first, count, textures, true); +} + + void GLAPIENTRY _mesa_BindTextures(GLuint first, GLsizei count, const GLuint *textures) { -- cgit v1.2.3