summaryrefslogtreecommitdiffstats
path: root/src/glsl/linker.cpp
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-05 11:59:30 -0700
committerBrian Paul <[email protected]>2012-01-05 12:49:45 -0700
commita44d715d2b19dc2f8f48b01144cc38e4e2c5015a (patch)
tree2671129e623f7dfb89ea11654a9be1a28e0d1e03 /src/glsl/linker.cpp
parent59be691638200797583bce39a83f641d30d97492 (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 'src/glsl/linker.cpp')
0 files changed, 0 insertions, 0 deletions