since this is potentially drawing to the frame buffer in the testenviroment too, we don't use memcpy anymore per se
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15634 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
eeb06055db
commit
464f836807
|
@ -458,12 +458,8 @@ HWInterface::_CopyToFront(uint8* src, uint32 srcBPR,
|
|||
dst += y * dstBPR + x * 4;
|
||||
// copy
|
||||
for (; y <= bottom; y++) {
|
||||
#ifndef __HAIKU__
|
||||
memcpy(dst, src, bytes);
|
||||
#else
|
||||
// bytes is guaranteed to be multiple of 4
|
||||
gfxcpy32(dst, src, bytes);
|
||||
#endif // __HAIKU__
|
||||
dst += dstBPR;
|
||||
src += srcBPR;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue