[Mesa-dev] [RFC 1/3] gallium/aux/util: Trivial, we already have format use it

Marek Olšák maraeo at gmail.com
Thu Dec 3 14:44:35 PST 2015


Pushed this patch.

Thanks,

Marek

On Thu, Dec 3, 2015 at 10:44 AM, Edward O'Callaghan
<eocallaghan at alterapraxis.com> wrote:
> No need to dereference again, fixup for clarity.
>
> Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
> ---
>  src/gallium/auxiliary/util/u_surface.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/auxiliary/util/u_surface.c b/src/gallium/auxiliary/util/u_surface.c
> index 70ed911..6aa44f9 100644
> --- a/src/gallium/auxiliary/util/u_surface.c
> +++ b/src/gallium/auxiliary/util/u_surface.c
> @@ -397,7 +397,7 @@ util_clear_render_target(struct pipe_context *pipe,
>           }
>        }
>        else {
> -         util_pack_color(color->f, dst->format, &uc);
> +         util_pack_color(color->f, format, &uc);
>        }
>
>        util_fill_box(dst_map, dst->format,
> --
> 2.5.0
>
> _______________________________________________
> 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