diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-11-03 01:16:48 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-11-03 01:16:48 +0000 |
commit | 97f04381a9594593450689560066dabcaaffc7f4 (patch) | |
tree | cf39d5d60f8066719e7709781e8c628a658546bd /nuttx/graphics | |
parent | 8c532df444b36d69b78a4195187a78024349427e (diff) | |
download | px4-nuttx-97f04381a9594593450689560066dabcaaffc7f4.tar.gz px4-nuttx-97f04381a9594593450689560066dabcaaffc7f4.tar.bz2 px4-nuttx-97f04381a9594593450689560066dabcaaffc7f4.zip |
A few more AVR32 fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4078 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics')
-rw-r--r-- | nuttx/graphics/nxbe/nxbe_getrectangle.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nuttx/graphics/nxbe/nxbe_getrectangle.c b/nuttx/graphics/nxbe/nxbe_getrectangle.c index 1b3941bbb..84f010cd5 100644 --- a/nuttx/graphics/nxbe/nxbe_getrectangle.c +++ b/nuttx/graphics/nxbe/nxbe_getrectangle.c @@ -130,6 +130,9 @@ void nxbe_getrectangle(FAR struct nxbe_window_s *wnd, * to this window. */ - FAR struct nxbe_plane_s *pplane = &wnd->be->plane[plane]; - pplane->getrectangle(&pplane->pinfo, rect, dest, deststride); + if (!nxgl_nullrect(&remaining)) + { + FAR struct nxbe_plane_s *pplane = &wnd->be->plane[plane]; + pplane->getrectangle(&pplane->pinfo, &remaining, dest, deststride); + } } |