[Mesa-dev] [PATCH] swrast: use memmove() instead of memcpy() in the SHIFT_ARRAY macro

Adam Jackson ajax at redhat.com
Thu Jan 5 11:40:52 PST 2012


On Thu, 2012-01-05 at 12:03 -0700, Brian Paul wrote:
> The src/dst arrays would overlap but dst was less than src so a simple
> version of memcpy() would do the right thing.  But this isn't guaranteed
> when memcpy() is optimized.
> 
> Fixes demos/copypix when the dest region was clipped by the left side of
> the window.

Reviewed-by: Adam Jackson <ajax at redhat.com>

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120105/3ab6453c/attachment.pgp>


More information about the mesa-dev mailing list