From: Jordan Justen Date: Mon, 29 Oct 2012 17:45:44 +0000 (-0700) Subject: mesa: remove unimplemented FramebufferTextureARB X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f625cb580a14ce6fedd62f98bb7437c167a11c76;p=mesa.git mesa: remove unimplemented FramebufferTextureARB 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 8f9672a3c32..d9c306f2c34 100644 --- a/src/mesa/main/api_exec.c +++ b/src/mesa/main/api_exec.c @@ -788,7 +788,6 @@ _mesa_create_exec_table(struct gl_context *ctx) } if (_mesa_is_desktop_gl(ctx)) { - SET_FramebufferTexture(exec, _mesa_FramebufferTextureARB); SET_FramebufferTextureFaceARB(exec, _mesa_FramebufferTextureFaceARB); } diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 9cde52ae690..078e8320c71 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -3055,17 +3055,6 @@ _mesa_BlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, } -void GLAPIENTRY -_mesa_FramebufferTextureARB(GLenum target, GLenum attachment, - GLuint texture, GLint level) -{ - GET_CURRENT_CONTEXT(ctx); - _mesa_error(ctx, GL_INVALID_OPERATION, - "glFramebufferTextureARB " - "not implemented!"); -} - - void GLAPIENTRY _mesa_FramebufferTextureFaceARB(GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face) diff --git a/src/mesa/main/fbobject.h b/src/mesa/main/fbobject.h index 9cded3cfa37..5b724161431 100644 --- a/src/mesa/main/fbobject.h +++ b/src/mesa/main/fbobject.h @@ -205,10 +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_FramebufferTextureARB(GLenum target, GLenum attachment, - GLuint texture, GLint level); - extern void GLAPIENTRY _mesa_FramebufferTextureFaceARB(GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);