summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/fbobject.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-05-08 11:24:07 +1000
committerTimothy Arceri <[email protected]>2017-05-17 10:12:03 +1000
commite75e8d6c94cf319aa597221966b31ccf89b629f2 (patch)
tree3d2f81eff1f858a67db40c32d9932da68e1a255c /src/mesa/main/fbobject.c
parentf6198e9146b5115676ae89d9515fc5d9e8693c05 (diff)
mesa: add KHR_no_error support for FramebufferTextureLayer
V3: use frame_buffer_texture_layer() helper Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/main/fbobject.c')
-rw-r--r--src/mesa/main/fbobject.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index bdce10d8e6a..7af0df36775 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -3497,6 +3497,15 @@ frame_buffer_texture_layer(GLuint framebuffer, GLenum target,
level, layer, GL_FALSE);
}
+void GLAPIENTRY
+_mesa_FramebufferTextureLayer_no_error(GLenum target, GLenum attachment,
+ GLuint texture, GLint level,
+ GLint layer)
+{
+ frame_buffer_texture_layer(0, target, attachment, texture, level, layer,
+ "glFramebufferTextureLayer", false, true);
+}
+
void GLAPIENTRY
_mesa_FramebufferTextureLayer(GLenum target, GLenum attachment,