[Mesa-dev] [PATCH 1/2] mesa: remove extern from texture function

Tapani Pälli tapani.palli at intel.com
Thu Aug 13 02:45:34 PDT 2015


Reviewed-by: Tapani Pälli <tapani.palli at intel.com>

On 08/13/2015 11:53 AM, Timothy Arceri wrote:
> ---
>   src/mesa/main/teximage.c | 2 +-
>   src/mesa/main/teximage.h | 9 ---------
>   2 files changed, 1 insertion(+), 10 deletions(-)
>
> diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
> index fc69387..55cbb37 100644
> --- a/src/mesa/main/teximage.c
> +++ b/src/mesa/main/teximage.c
> @@ -5595,7 +5595,7 @@ check_multisample_target(GLuint dims, GLenum target, bool dsa)
>   }
>
>
> -void
> +static void
>   _mesa_texture_image_multisample(struct gl_context *ctx, GLuint dims,
>                                   struct gl_texture_object *texObj,
>                                   GLenum target, GLsizei samples,
> diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h
> index 1eebaa8..bf729da 100644
> --- a/src/mesa/main/teximage.h
> +++ b/src/mesa/main/teximage.h
> @@ -200,15 +200,6 @@ _mesa_copy_texture_sub_image(struct gl_context *ctx, GLuint dims,
>                                const char *caller);
>
>   extern void
> -_mesa_texture_image_multisample(struct gl_context *ctx, GLuint dims,
> -                                struct gl_texture_object *texObj,
> -                                GLenum target, GLsizei samples,
> -                                GLint internalformat, GLsizei width,
> -                                GLsizei height, GLsizei depth,
> -                                GLboolean fixedsamplelocations,
> -                                GLboolean immutable, const char *func);
> -
> -extern void
>   _mesa_texture_buffer_range(struct gl_context *ctx,
>                              struct gl_texture_object *texObj,
>                              GLenum internalFormat,
>


More information about the mesa-dev mailing list