summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorEdward O'Callaghan <[email protected]>2015-12-03 20:44:16 +1100
committerMarek Olšák <[email protected]>2015-12-03 23:41:23 +0100
commita5055e2f86e698a35da850378cd2eaa128df978a (patch)
tree8ae3681bb5b423026538d51e2e5b032f54aebe3c /src/gallium/auxiliary
parent5294debfa4910e4259112ce3c6d5a8c1cd346ae9 (diff)
gallium/aux/util: Trivial, we already have format use it
No need to dereference again, fixup for clarity. Signed-off-by: Edward O'Callaghan <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/util/u_surface.c2
1 files changed, 1 insertions, 1 deletions
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,