mesa: remove unimplemented FramebufferTextureARB
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 29 Oct 2012 17:45:44 +0000 (10:45 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 3 Nov 2012 17:54:41 +0000 (10:54 -0700)
This function can be re-added with an actual implementation
when ARB_geometry_shader4 is supported.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/main/api_exec.c
src/mesa/main/fbobject.c
src/mesa/main/fbobject.h

index 8f9672a3c32e112c290a35da5890012ce2499665..d9c306f2c3482042bed1c2099f4c34e366e91b71 100644 (file)
@@ -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);
    }
 
index 9cde52ae69050dcad54e7313c74abf3944ded11a..078e8320c719ad33641eb451a56e046079f0efe1 100644 (file)
@@ -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)
index 9cded3cfa37c633fe9958ec6c833189afd825a92..5b724161431fd44cf838cd172f1737caee1ed980 100644 (file)
@@ -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);