[Mesa-dev] [RFC 1/3] gallium/aux/util: Trivial, we already have format use it
Edward O'Callaghan
eocallaghan at alterapraxis.com
Thu Dec 3 01:44:16 PST 2015
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
More information about the mesa-dev
mailing list