Module: Mesa
Branch: master
Commit: 2568d9d0cd79d16eebb4c3ac28a0214562bc0da3
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2568d9d0cd79d16eebb4c3ac28a0214562bc0da3

Author: Samuel Pitoiset <[email protected]>
Date:   Wed Mar  8 14:30:40 2017 +0100

mesa/main: remove unused _mesa_new_texture_image()

Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Alejandro PiƱeiro <[email protected]>

---

 src/mesa/main/teximage.c | 17 -----------------
 src/mesa/main/teximage.h |  3 ---
 2 files changed, 20 deletions(-)

diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index 89f6921..efbf30b 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -154,23 +154,6 @@ set_tex_image(struct gl_texture_object *tObj,
 
 
 /**
- * Allocate a texture image structure.
- *
- * Called via ctx->Driver.NewTextureImage() unless overriden by a device
- * driver.
- *
- * \return a pointer to gl_texture_image struct with all fields initialized to
- * zero.
- */
-struct gl_texture_image *
-_mesa_new_texture_image( struct gl_context *ctx )
-{
-   (void) ctx;
-   return CALLOC_STRUCT(gl_texture_image);
-}
-
-
-/**
  * Free a gl_texture_image and associated data.
  * This function is a fallback called via ctx->Driver.DeleteTextureImage().
  *
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h
index 05fa00d..53c2f59 100644
--- a/src/mesa/main/teximage.h
+++ b/src/mesa/main/teximage.h
@@ -118,9 +118,6 @@ _mesa_is_proxy_texture(GLenum target);
 extern bool
 _mesa_is_array_texture(GLenum target);
 
-extern struct gl_texture_image *
-_mesa_new_texture_image( struct gl_context *ctx );
-
 
 extern void
 _mesa_delete_texture_image( struct gl_context *ctx,

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to