gallium/util: (trivial) fix util_clear_render_target
authorRoland Scheidegger <sroland@vmware.com>
Fri, 24 Feb 2017 17:40:40 +0000 (18:40 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 24 Feb 2017 19:39:56 +0000 (20:39 +0100)
commitc3a94d9195bff3a870d5a78dd53bd69c26eb23af
tree3c6e888e14427680170075dcf303291f7ca2ee5f
parent98334889744a327ff0e049d0c97317536f49ae33
gallium/util: (trivial) fix util_clear_render_target

the format of the rt can be different than the one of the texture, so must
propagate the format explicitly to the helper. Broken since
3f9c5d62441eba38e8b1592aba965ed5db6fd89b (but unused by st/mesa).
src/gallium/auxiliary/util/u_surface.c