Module: Mesa
Branch: master
Commit: a5055e2f86e698a35da850378cd2eaa128df978a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5055e2f86e698a35da850378cd2eaa128df978a

Author: Edward O'Callaghan <[email protected]>
Date:   Thu Dec  3 20:44:16 2015 +1100

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]>

---

 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,

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to