use blt_copy
This commit is contained in:
parent
e8acc35f0d
commit
537b8605b0
1 changed files with 1 additions and 10 deletions
11
src/blt.c
11
src/blt.c
|
@ -79,16 +79,7 @@ void blt_clean(
|
|||
|
||||
if (size == dst_p && dst_p == src_p)
|
||||
{
|
||||
size_t s = dst_p * dst_h;
|
||||
|
||||
if (s >= 1024 * 100)
|
||||
{
|
||||
__movsb(dst, src, s);
|
||||
}
|
||||
else
|
||||
{
|
||||
memcpy(dst, src, s);
|
||||
}
|
||||
blt_copy(dst, src, dst_p * dst_h);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue