Advertisement
Guest User

Remote LCD display fix

a guest
Jan 20th, 2011
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.59 KB | None | 0 0
  1. diff --git a/firmware/target/hosted/sdl/lcd-sdl.c b/firmware/target/hosted/sdl/lcd-sdl.c
  2. index 5559369..db63623 100644
  3. --- a/firmware/target/hosted/sdl/lcd-sdl.c
  4. +++ b/firmware/target/hosted/sdl/lcd-sdl.c
  5. @@ -32,7 +32,8 @@ void sdl_update_rect(SDL_Surface *surface, int x_start, int y_start, int width,
  6.  {
  7.      SDL_Rect dest;
  8.  #if LCD_DEPTH >= 8 && (LCD_PIXELFORMAT == RGB565) \
  9. -    && !defined(LCD_STRIDEFORMAT) && !defined(HAVE_LCD_SPLIT)
  10. +    && !defined(LCD_STRIDEFORMAT) && !defined(HAVE_LCD_SPLIT) \
  11. +    && !defined(HAVE_REMOTE_LCD)
  12.      SDL_Rect src;
  13.      (void)max_x;
  14.      (void)max_y;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement