mesa: remove unimplemented FramebufferTextureFaceARB
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 29 Oct 2012 17:47:19 +0000 (10:47 -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 d9c306f2c3482042bed1c2099f4c34e366e91b71..bc5f71f0dd94508424d4e71c660bf676799c8018 100644 (file)
@@ -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);
    }
index 078e8320c719ad33641eb451a56e046079f0efe1..fc5681ccc05c60fb3ee590479e22a3bcf6579144 100644 (file)
@@ -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,
index 5b724161431fd44cf838cd172f1737caee1ed980..44d92d421564806c35ec7cb658db45b26330c75c 100644 (file)
@@ -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,