diff options
Diffstat (limited to 'firmware/drivers/lcd-bitmap-common.c')
-rw-r--r-- | firmware/drivers/lcd-bitmap-common.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c index c85d16cb70..24b302b6d4 100644 --- a/firmware/drivers/lcd-bitmap-common.c +++ b/firmware/drivers/lcd-bitmap-common.c | |||
@@ -139,11 +139,7 @@ struct viewport* LCDFN(set_viewport_ex)(struct viewport* vp, int flags) | |||
139 | || vp->x + vp->width > LCDM(WIDTH) | 139 | || vp->x + vp->width > LCDM(WIDTH) |
140 | || vp->y + vp->height > LCDM(HEIGHT)) | 140 | || vp->y + vp->height > LCDM(HEIGHT)) |
141 | { | 141 | { |
142 | #if !defined(HAVE_VIEWPORT_CLIP) | ||
143 | DEBUGF("ERROR: " | 142 | DEBUGF("ERROR: " |
144 | #else | ||
145 | DEBUGF("NOTE: " | ||
146 | #endif | ||
147 | "set_viewport out of bounds: x: %d y: %d width: %d height:%d\n", | 143 | "set_viewport out of bounds: x: %d y: %d width: %d height:%d\n", |
148 | vp->x, vp->y, vp->width, vp->height); | 144 | vp->x, vp->y, vp->width, vp->height); |
149 | } | 145 | } |