diff options
author | Samuel Pitoiset <[email protected]> | 2017-07-18 18:02:51 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-07-31 13:53:39 +0200 |
commit | c88649246f85415073cc8fd922ab039a067c89ee (patch) | |
tree | d325909c013953abfe0983addf76badd096165f5 /src/mesa/main/texobj.c | |
parent | fee507b9092e0998c3f7e710b0d2feb3f191fec3 (diff) |
mesa: add KHR_no_error support to glInvalidate*()
These are just no-op because we don't actually do anything
useful in the errors path.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/texobj.c')
-rw-r--r-- | src/mesa/main/texobj.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index e52ad22645b..95f2b34337d 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -2029,6 +2029,16 @@ _mesa_unlock_context_textures( struct gl_context *ctx ) void GLAPIENTRY +_mesa_InvalidateTexSubImage_no_error(GLuint texture, GLint level, GLint xoffset, + GLint yoffset, GLint zoffset, + GLsizei width, GLsizei height, + GLsizei depth) +{ + /* no-op */ +} + + +void GLAPIENTRY _mesa_InvalidateTexSubImage(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth) @@ -2176,6 +2186,13 @@ _mesa_InvalidateTexSubImage(GLuint texture, GLint level, GLint xoffset, void GLAPIENTRY +_mesa_InvalidateTexImage_no_error(GLuint texture, GLint level) +{ + /* no-op */ +} + + +void GLAPIENTRY _mesa_InvalidateTexImage(GLuint texture, GLint level) { GET_CURRENT_CONTEXT(ctx); |