mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 18:00:24 +01:00
mesa/main: remove unused _mesa_new_texture_image()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
This commit is contained in:
parent
e6902be900
commit
2568d9d0cd
2 changed files with 0 additions and 20 deletions
|
|
@ -153,23 +153,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().
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue