From: Jordan Justen Date: Mon, 29 Oct 2012 17:47:19 +0000 (-0700) Subject: mesa: remove unimplemented FramebufferTextureFaceARB X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4d62cb64a552c8e31a6facfb99d04fd11758ec25;p=mesa.git mesa: remove unimplemented FramebufferTextureFaceARB This function can be re-added with an actual implementation when ARB_geometry_shader4 is supported. Signed-off-by: Jordan Justen Reviewed-by: Paul Berry --- diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c index d9c306f2c34..bc5f71f0dd9 100644 --- a/src/mesa/main/api_exec.c +++ b/src/mesa/main/api_exec.c @@ -787,10 +787,6 @@ _mesa_create_exec_table(struct gl_context *ctx) SET_GetObjectParameterivAPPLE(exec, _mesa_GetObjectParameterivAPPLE); } - if (_mesa_is_desktop_gl(ctx)) { - SET_FramebufferTextureFaceARB(exec, _mesa_FramebufferTextureFaceARB); - } - if (_mesa_is_desktop_gl(ctx)) { SET_ClampColorARB(exec, _mesa_ClampColorARB); } diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 078e8320c71..fc5681ccc05 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -3055,16 +3055,6 @@ _mesa_BlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, } -void GLAPIENTRY -_mesa_FramebufferTextureFaceARB(GLenum target, GLenum attachment, - GLuint texture, GLint level, GLenum face) -{ - GET_CURRENT_CONTEXT(ctx); - _mesa_error(ctx, GL_INVALID_OPERATION, - "glFramebufferTextureFaceARB " - "not implemented!"); -} - static void invalidate_framebuffer_storage(GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, diff --git a/src/mesa/main/fbobject.h b/src/mesa/main/fbobject.h index 5b724161431..44d92d42156 100644 --- a/src/mesa/main/fbobject.h +++ b/src/mesa/main/fbobject.h @@ -205,11 +205,6 @@ _mesa_BlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -extern void GLAPIENTRY -_mesa_FramebufferTextureFaceARB(GLenum target, GLenum attachment, - GLuint texture, GLint level, GLenum face); - - extern void GLAPIENTRY _mesa_InvalidateSubFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y,