diff options
author | Samuel Pitoiset <[email protected]> | 2017-06-26 14:05:46 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-06-28 10:25:12 +0200 |
commit | 18e31bb25222b8763f8c90eb8a07f6a72bdb0916 (patch) | |
tree | f4df969e7049a57258e3b085eec9f717d547e1bf /src/mesa/main/samplerobj.c | |
parent | 455b1a3a4b688e859d4b0b12f1f13f4e472444be (diff) |
mesa: add KHR_no_error support for gl*Samplers()
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 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mesa/main/samplerobj.c b/src/mesa/main/samplerobj.c index 7ac1743e2d3..d78528be2db 100644 --- a/src/mesa/main/samplerobj.c +++ b/src/mesa/main/samplerobj.c @@ -194,6 +194,13 @@ create_samplers_err(struct gl_context *ctx, GLsizei count, GLuint *samplers, } void GLAPIENTRY +_mesa_GenSamplers_no_error(GLsizei count, GLuint *samplers) +{ + GET_CURRENT_CONTEXT(ctx); + create_samplers(ctx, count, samplers); +} + +void GLAPIENTRY _mesa_GenSamplers(GLsizei count, GLuint *samplers) { GET_CURRENT_CONTEXT(ctx); @@ -201,6 +208,13 @@ _mesa_GenSamplers(GLsizei count, GLuint *samplers) } void GLAPIENTRY +_mesa_CreateSamplers_no_error(GLsizei count, GLuint *samplers) +{ + GET_CURRENT_CONTEXT(ctx); + create_samplers(ctx, count, samplers); +} + +void GLAPIENTRY _mesa_CreateSamplers(GLsizei count, GLuint *samplers) { GET_CURRENT_CONTEXT(ctx); |