summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/sdl/lcd-sdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/sdl/lcd-sdl.c')
-rw-r--r--firmware/target/hosted/sdl/lcd-sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/sdl/lcd-sdl.c b/firmware/target/hosted/sdl/lcd-sdl.c
index 40ba94072b..de19de365a 100644
--- a/firmware/target/hosted/sdl/lcd-sdl.c
+++ b/firmware/target/hosted/sdl/lcd-sdl.c
@@ -39,7 +39,7 @@ void sdl_update_rect(SDL_Surface *surface, int x_start, int y_start, int width,
39 (void)max_y; 39 (void)max_y;
40 (void)getpixel; 40 (void)getpixel;
41 /* Update complete screen via one blit operation (fast) */ 41 /* Update complete screen via one blit operation (fast) */
42 SDL_Surface *lcd = SDL_CreateRGBSurfaceFrom(lcd_framebuffer, LCD_FBWIDTH, 42 SDL_Surface *lcd = SDL_CreateRGBSurfaceFrom(FBADDR(0, 0), LCD_FBWIDTH,
43 LCD_FBHEIGHT, LCD_DEPTH, 43 LCD_FBHEIGHT, LCD_DEPTH,
44 LCD_FBWIDTH * LCD_DEPTH/8, 44 LCD_FBWIDTH * LCD_DEPTH/8,
45 0, 0, 0, 0); 45 0, 0, 0, 0);