util: Modified u_rect to default to memcpy.
authorJames Benton <jbenton@vmware.com>
Wed, 11 Jul 2012 14:31:21 +0000 (15:31 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 27 Nov 2012 16:24:42 +0000 (16:24 +0000)
commit9bd4856b5c8337a7c749df8172843ca364ac53e0
treedbc706c15f3e5200755a259adb22245ec85432f3
parent65016646e355c8266136abbb991006c8829a0bc3
util: Modified u_rect to default to memcpy.

Previously this function would assert if the format didn't fit an expected 4 channel format size.

Now will work with any format type with any amount of channels.

Signed-off-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/util/u_rect.c