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:
Stephan Aßmus 2005-12-21 11:21:56 +00:00
parent eeb06055db
commit 464f836807
1 changed files with 0 additions and 4 deletions

View File

@ -458,12 +458,8 @@ HWInterface::_CopyToFront(uint8* src, uint32 srcBPR,
dst += y * dstBPR + x * 4; dst += y * dstBPR + x * 4;
// copy // copy
for (; y <= bottom; y++) { for (; y <= bottom; y++) {
#ifndef __HAIKU__
memcpy(dst, src, bytes);
#else
// bytes is guaranteed to be multiple of 4 // bytes is guaranteed to be multiple of 4
gfxcpy32(dst, src, bytes); gfxcpy32(dst, src, bytes);
#endif // __HAIKU__
dst += dstBPR; dst += dstBPR;
src += srcBPR; src += srcBPR;
} }