diff --git a/include/gwin/gwin.h b/include/gwin/gwin.h index dd8abb0f..4d0deaf0 100644 --- a/include/gwin/gwin.h +++ b/include/gwin/gwin.h @@ -769,7 +769,7 @@ extern "C" { * * @api */ - gdispImageError gwinImageDraw(GHandle gh, gdispImage *img, coord_t x, coord_t y, coord_t cx, coord_t cy, coord_t sx, coord_t sy); + gdispImageError gwinDrawImage(GHandle gh, gdispImage *img, coord_t x, coord_t y, coord_t cx, coord_t cy, coord_t sx, coord_t sy); #endif #ifdef __cplusplus diff --git a/src/gwin/gwin.c b/src/gwin/gwin.c index 9e345523..92b6cc03 100644 --- a/src/gwin/gwin.c +++ b/src/gwin/gwin.c @@ -530,7 +530,7 @@ void gwinBlitArea(GHandle gh, coord_t x, coord_t y, coord_t cx, coord_t cy, coor #endif #if GDISP_NEED_IMAGE - gdispImageError gwinImageDraw(GHandle gh, gdispImage *img, coord_t x, coord_t y, coord_t cx, coord_t cy, coord_t sx, coord_t sy) { + gdispImageError gwinDrawImage(GHandle gh, gdispImage *img, coord_t x, coord_t y, coord_t cx, coord_t cy, coord_t sx, coord_t sy) { if (!((gh->flags & GWIN_FLG_VISIBLE))) return GDISP_IMAGE_ERR_OK;