From abca557bab206f118c32b4c99d17a70ff90a43ed Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Mon, 22 Jul 2013 04:42:30 +0200 Subject: removed a forgotted GDISP wrapper call in GWIN --- src/gwin/gwin.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/gwin/gwin.c') diff --git a/src/gwin/gwin.c b/src/gwin/gwin.c index f5d78ac6..16f06b0c 100644 --- a/src/gwin/gwin.c +++ b/src/gwin/gwin.c @@ -489,18 +489,6 @@ void gwinBlitArea(GHandle gh, coord_t x, coord_t y, coord_t cx, coord_t cy, coor } #endif -#if GDISP_NEED_IMAGE - 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; - - #if GDISP_NEED_CLIP - gdispSetClip(gh->x, gh->y, gh->width, gh->height); - #endif - return gdispImageDraw(img, gh->x+x, gh->y+y, cx, cy, sx, sy); - } -#endif - #endif /* GFX_USE_GWIN */ /** @} */ -- cgit v1.2.3