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/fbobject.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/fbobject.c')
-rw-r--r-- | src/mesa/main/fbobject.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 46bc129effc..3ab6b53355b 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -4326,6 +4326,15 @@ invalid_enum: void GLAPIENTRY +_mesa_InvalidateSubFramebuffer_no_error(GLenum target, GLsizei numAttachments, + const GLenum *attachments, GLint x, + GLint y, GLsizei width, GLsizei height) +{ + /* no-op */ +} + + +void GLAPIENTRY _mesa_InvalidateSubFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height) @@ -4377,6 +4386,14 @@ _mesa_InvalidateNamedFramebufferSubData(GLuint framebuffer, void GLAPIENTRY +_mesa_InvalidateFramebuffer_no_error(GLenum target, GLsizei numAttachments, + const GLenum *attachments) +{ + /* no-op */ +} + + +void GLAPIENTRY _mesa_InvalidateFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments) { |