Fix compile error in gwinGetPixelColor()

This commit is contained in:
inmarket 2013-07-29 16:33:20 +10:00
parent f84bc2a3f6
commit 978f8b6c4f

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);