From: Edward O'Callaghan Date: Thu, 3 Dec 2015 09:44:16 +0000 (+1100) Subject: gallium/aux/util: Trivial, we already have format use it X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5055e2f86e698a35da850378cd2eaa128df978a;p=mesa.git gallium/aux/util: Trivial, we already have format use it No need to dereference again, fixup for clarity. Signed-off-by: Edward O'Callaghan Signed-off-by: Marek Olšák --- diff --git a/src/gallium/auxiliary/util/u_surface.c b/src/gallium/auxiliary/util/u_surface.c index 70ed911b7f1..6aa44f9602a 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,