graphics/: Fix some errors found test last per-window framebuffer logic (without framebuffers).

This commit is contained in:
Gregory Nutt 2019-03-15 14:50:54 -06:00
parent 713a560497
commit 9fa8c69e0e
3 changed files with 5 additions and 1 deletions

View File

@ -216,6 +216,6 @@ void nxbe_fill(FAR struct nxbe_window_s *wnd,
/* Rend the bitmap directly to the graphics device in any case */
nxbe_fill_dev(wnd, rect, color);
nxbe_fill_dev(wnd, &remaining, color);
}
}

View File

@ -114,6 +114,7 @@ static inline void nxbe_getrectangle_dev(FAR struct nxbe_window_s *wnd,
*
****************************************************************************/
#ifdef CONFIG_NX_RAMBACKED
static inline void nxbe_getrectangle_pwfb(FAR struct nxbe_window_s *wnd,
FAR const struct nxgl_rect_s *rect,
unsigned int plane,
@ -126,6 +127,7 @@ static inline void nxbe_getrectangle_pwfb(FAR struct nxbe_window_s *wnd,
pplane->pwfb.getrectangle(wnd, rect, dest, deststride);
}
#endif
/****************************************************************************
* Public Functions

View File

@ -39,6 +39,8 @@
#include <nuttx/config.h>
#include <assert.h>
#ifdef CONFIG_NX_RAMBACKED
# include <debug.h>
# include <string.h>