diff options
author | Samuel Pitoiset <[email protected]> | 2017-03-08 14:30:40 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-03-09 01:57:20 +0100 |
commit | 2568d9d0cd79d16eebb4c3ac28a0214562bc0da3 (patch) | |
tree | 601ddd6d06e647511cd49c828927716fd2fdb658 /src/mesa/main/teximage.c | |
parent | e6902be90079500cb421f7eb886cdcc49bb58a60 (diff) |
mesa/main: remove unused _mesa_new_texture_image()
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Alejandro PiƱeiro <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 89f692194d4..efbf30b8280 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(). * |