summaryrefslogtreecommitdiff
path: root/nuttx/graphics
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-11-03 01:16:48 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-11-03 01:16:48 +0000
commit97f04381a9594593450689560066dabcaaffc7f4 (patch)
treecf39d5d60f8066719e7709781e8c628a658546bd /nuttx/graphics
parent8c532df444b36d69b78a4195187a78024349427e (diff)
downloadpx4-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.c7
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);
+ }
}