[Mesa-dev] [PATCH 1/5] meta: fix incorrect argument order in setup_texture_coords() call

Jose Fonseca jfonseca at vmware.com
Thu Jan 12 10:25:27 PST 2012


The whole series looks good to me.

Jose

----- Original Message -----
> And pass integer width, height values.
> 
> NOTE: This is a candidate for the 8.0 branch.
> ---
>  src/mesa/drivers/common/meta.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/mesa/drivers/common/meta.c
> b/src/mesa/drivers/common/meta.c
> index ad289aa..abf2f1f 100644
> --- a/src/mesa/drivers/common/meta.c
> +++ b/src/mesa/drivers/common/meta.c
> @@ -2920,8 +2920,8 @@ _mesa_meta_GenerateMipmap(struct gl_context
> *ctx, GLenum target,
>  
>     /* setup texcoords (XXX what about border?) */
>     setup_texture_coords(faceTarget,
> -                        0.0f, 0.0f, /* width, height never used here
> */
>                          slice,
> +                        0, 0, /* width, height never used here */
>                          verts[0].tex,
>                          verts[1].tex,
>                          verts[2].tex,
> --
> 1.7.3.4
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 


More information about the mesa-dev mailing list