diff options
author | Samuel Pitoiset <[email protected]> | 2017-07-18 12:49:22 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-07-31 13:53:39 +0200 |
commit | 18bd5d2c8c32897a0d549ea55a874a3832935f6f (patch) | |
tree | 2599e0bb16d2a083d89b4867535751a8e39f27a2 /src/mesa/main/samplerobj.c | |
parent | 698ae2f0ef5929f00085fd0c7b81058bb5d3fc54 (diff) |
mesa: add KHR_no_error support to glBindSamplers()
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/samplerobj.c')
-rw-r--r-- | src/mesa/main/samplerobj.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ -412,6 +412,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) { GET_CURRENT_CONTEXT(ctx); |