From a5055e2f86e698a35da850378cd2eaa128df978a Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Thu, 3 Dec 2015 20:44:16 +1100 Subject: gallium/aux/util: Trivial, we already have format use it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No need to dereference again, fixup for clarity. Signed-off-by: Edward O'Callaghan Signed-off-by: Marek Olšák --- 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 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, -- cgit v1.2.3