From 3336d248e833280badcae52909b5b2e69f359d8b Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Mon, 8 May 2017 12:01:33 +1000 Subject: mesa: add KHR_no_error support for NamedFramebufferTexture MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit V3: use frame_buffer_texture() helper Reviewed-by: Nicolai Hähnle --- src/mesa/main/fbobject.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mesa/main/fbobject.c') diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 82fec792bbd..74b38180900 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -3571,6 +3571,14 @@ _mesa_FramebufferTexture(GLenum target, GLenum attachment, "glFramebufferTexture", false, false, true); } +void GLAPIENTRY +_mesa_NamedFramebufferTexture_no_error(GLuint framebuffer, GLenum attachment, + GLuint texture, GLint level) +{ + frame_buffer_texture(framebuffer, 0, attachment, texture, level, 0, + "glNamedFramebufferTexture", true, true, true); +} + void GLAPIENTRY _mesa_NamedFramebufferTexture(GLuint framebuffer, GLenum attachment, -- cgit v1.2.3