diff options
| author | yangfasheng <[email protected]> | 2017-12-12 19:46:38 +0800 |
|---|---|---|
| committer | yangfasheng <[email protected]> | 2017-12-12 19:46:38 +0800 |
| commit | 2d98c0e7be8e0803de4b4e8e9ba03635bcef91c8 (patch) | |
| tree | 2369b56b2cb936de281b8e8b335da94828298af3 /components/gui/src/dc_rotozoom.c | |
| parent | 44e17aa2772a48697604ba1122da4a0bb9015414 (diff) | |
gui 引擎代码更新;
Diffstat (limited to 'components/gui/src/dc_rotozoom.c')
| -rw-r--r-- | components/gui/src/dc_rotozoom.c | 4 |
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) */ |
