Fix compile error in gwinGetPixelColor()

ugfx_release_2.6
inmarket 2013-07-29 16:33:20 +10:00
parent 20ec12071d
commit 34f06cd3c9
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ void gwinBlitArea(GHandle gh, coord_t x, coord_t y, coord_t cx, coord_t cy, coor
#if GDISP_NEED_PIXELREAD
color_t gwinGetPixelColor(GHandle gh, coord_t x, coord_t y) {
if (!((gh->flags & GWIN_FLG_VISIBLE)))
return;
return defaultBgColor;
#if GDISP_NEED_CLIP
gdispSetClip(gh->x, gh->y, gh->width, gh->height);