diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-01-20 22:27:28 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-01-20 22:27:28 +0000 |
commit | 523036251550b69ed3f204b1e1f21478cfc48174 (patch) | |
tree | 3756548824591025a04058d248bc2513ac090be0 /firmware | |
parent | 2da0f9bcfdf056255b298c0e61f0f4f0f950f869 (diff) | |
download | rockbox-523036251550b69ed3f204b1e1f21478cfc48174.tar.gz rockbox-523036251550b69ed3f204b1e1f21478cfc48174.zip |
Fix FS#11881. Patch by Thomas Jarosch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29098 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/hosted/sdl/lcd-sdl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/hosted/sdl/lcd-sdl.c b/firmware/target/hosted/sdl/lcd-sdl.c index 5559369e0e..1b28d8b6db 100644 --- a/firmware/target/hosted/sdl/lcd-sdl.c +++ b/firmware/target/hosted/sdl/lcd-sdl.c | |||
@@ -32,7 +32,8 @@ void sdl_update_rect(SDL_Surface *surface, int x_start, int y_start, int width, | |||
32 | { | 32 | { |
33 | SDL_Rect dest; | 33 | SDL_Rect dest; |
34 | #if LCD_DEPTH >= 8 && (LCD_PIXELFORMAT == RGB565) \ | 34 | #if LCD_DEPTH >= 8 && (LCD_PIXELFORMAT == RGB565) \ |
35 | && !defined(LCD_STRIDEFORMAT) && !defined(HAVE_LCD_SPLIT) | 35 | && !defined(LCD_STRIDEFORMAT) && !defined(HAVE_LCD_SPLIT) \ |
36 | && !defined(HAVE_REMOTE_LCD) | ||
36 | SDL_Rect src; | 37 | SDL_Rect src; |
37 | (void)max_x; | 38 | (void)max_x; |
38 | (void)max_y; | 39 | (void)max_y; |