diff options
author | Samuel Pitoiset <[email protected]> | 2017-07-21 14:25:03 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-08-02 12:54:32 +0200 |
commit | 11e0542e5ce9a3c72222f7eff09987bc6dbeb9eb (patch) | |
tree | dc323685d9d45e44d59865ca4b5aec6c500ee210 /src/mesa/main/clear.c | |
parent | b18b1fa6bc50a304f213fc007395528ba68c925e (diff) |
mesa: add KHR_no_error support to glClearBufferuiv()
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/clear.c')
-rw-r--r-- | src/mesa/main/clear.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/main/clear.c b/src/mesa/main/clear.c index 5ee1eb24337..3aa3cfd9a98 100644 --- a/src/mesa/main/clear.c +++ b/src/mesa/main/clear.c @@ -486,6 +486,15 @@ clear_bufferuiv(struct gl_context *ctx, GLenum buffer, GLint drawbuffer, void GLAPIENTRY +_mesa_ClearBufferuiv_no_error(GLenum buffer, GLint drawbuffer, + const GLuint *value) +{ + GET_CURRENT_CONTEXT(ctx); + clear_bufferuiv(ctx, buffer, drawbuffer, value, true); +} + + +void GLAPIENTRY _mesa_ClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value) { GET_CURRENT_CONTEXT(ctx); |