summaryrefslogtreecommitdiff
path: root/components/gui/src/dc_rotozoom.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/gui/src/dc_rotozoom.c')
-rw-r--r--components/gui/src/dc_rotozoom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/gui/src/dc_rotozoom.c b/components/gui/src/dc_rotozoom.c
index e6700a6b40..9d1f59af2b 100644
--- a/components/gui/src/dc_rotozoom.c
+++ b/components/gui/src/dc_rotozoom.c
@@ -653,7 +653,7 @@ struct rtgui_dc* rtgui_dc_rotate_90degrees(struct rtgui_dc_buffer* src, int numC
if (src->pitch == dst->pitch)
{
/* If the pitch is the same for both surfaces, the memory can be copied all at once. */
- rt_memcpy(dst->pixel, src->pixel, (src->height * src->pitch));
+ memcpy(dst->pixel, src->pixel, (src->height * src->pitch));
}
else
{
@@ -663,7 +663,7 @@ struct rtgui_dc* rtgui_dc_rotate_90degrees(struct rtgui_dc_buffer* src, int numC
for (row = 0; row < src->height; row++)
{
- rt_memcpy(dstBuf, srcBuf, dst->width * bpp);
+ memcpy(dstBuf, srcBuf, dst->width * bpp);
srcBuf += src_ipr;
dstBuf += dst_ipr;
} /* end for(col) */