summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/skin_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/skin_engine/skin_buffer.c')
-rw-r--r--apps/gui/skin_engine/skin_buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/skin_engine/skin_buffer.c b/apps/gui/skin_engine/skin_buffer.c
index 42d47cc20f..a15ad10bee 100644
--- a/apps/gui/skin_engine/skin_buffer.c
+++ b/apps/gui/skin_engine/skin_buffer.c
@@ -55,11 +55,11 @@
55 55
56 56
57#ifdef HAVE_LCD_BITMAP 57#ifdef HAVE_LCD_BITMAP
58#define MAIN_BUFFER ((2*(LCD_FBHEIGHT*LCD_FBWIDTH*sizeof(fb_data))) \ 58#define MAIN_BUFFER ((2*LCD_HEIGHT*LCD_WIDTH*LCD_DEPTH/8) \
59 + (SKINNABLE_SCREENS_COUNT * LCD_BACKDROP_BYTES)) 59 + (SKINNABLE_SCREENS_COUNT * LCD_BACKDROP_BYTES))
60 60
61#if (NB_SCREENS > 1) 61#if (NB_SCREENS > 1)
62#define REMOTE_BUFFER ((2*(LCD_REMOTE_FBHEIGHT*LCD_REMOTE_FBWIDTH*sizeof(fb_remote_data))) \ 62#define REMOTE_BUFFER (2*(LCD_REMOTE_HEIGHT*LCD_REMOTE_WIDTH*LCD_REMOTE_DEPTH/8) \
63 + (SKINNABLE_SCREENS_COUNT * REMOTE_LCD_BACKDROP_BYTES)) 63 + (SKINNABLE_SCREENS_COUNT * REMOTE_LCD_BACKDROP_BYTES))
64#else 64#else
65#define REMOTE_BUFFER 0 65#define REMOTE_BUFFER 0