diff options
author | Brian Paul <[email protected]> | 2012-01-05 11:59:30 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-05 12:49:45 -0700 |
commit | a44d715d2b19dc2f8f48b01144cc38e4e2c5015a (patch) | |
tree | 2671129e623f7dfb89ea11654a9be1a28e0d1e03 /docs | |
parent | 59be691638200797583bce39a83f641d30d97492 (diff) |
swrast: use memmove() instead of memcpy() in the SHIFT_ARRAY macro
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 <[email protected]>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions