diff options
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/x11/lcd-x11.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/uisimulator/x11/lcd-x11.c b/uisimulator/x11/lcd-x11.c index 41bf0d1ec0..0a3b40e163 100644 --- a/uisimulator/x11/lcd-x11.c +++ b/uisimulator/x11/lcd-x11.c | |||
@@ -53,11 +53,9 @@ extern bool lcd_display_redraw; | |||
53 | 53 | ||
54 | #ifdef HAVE_LCD_BITMAP | 54 | #ifdef HAVE_LCD_BITMAP |
55 | #if LCD_DEPTH==16 | 55 | #if LCD_DEPTH==16 |
56 | extern unsigned char lcd_framebuffer[LCD_HEIGHT][LCD_WIDTH*2]; | 56 | fb_data lcd_framebuffer_copy[LCD_HEIGHT][LCD_WIDTH*2]; |
57 | unsigned char lcd_framebuffer_copy[LCD_HEIGHT][LCD_WIDTH*2]; | ||
58 | #else | 57 | #else |
59 | extern unsigned char lcd_framebuffer[LCD_HEIGHT/YBLOCK][LCD_WIDTH]; | 58 | fb_data lcd_framebuffer_copy[LCD_HEIGHT/YBLOCK][LCD_WIDTH]; |
60 | unsigned char lcd_framebuffer_copy[LCD_HEIGHT/YBLOCK][LCD_WIDTH]; | ||
61 | #endif | 59 | #endif |
62 | 60 | ||
63 | void lcd_update (void) | 61 | void lcd_update (void) |