mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 08:38:38 +08:00
graphics/nxbe/nxbe_move.c: Fix a compile error found in build testing.
This commit is contained in:
parent
ae8e0359b9
commit
e5c0084804
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,7 @@ static void nxbe_clipmovesrc(FAR struct nxbe_clipops_s *cops,
|
|||
struct nxbe_move_s *info = (struct nxbe_move_s *)cops;
|
||||
struct nxgl_point_s offset;
|
||||
#ifdef CONFIG_NX_UPDATE
|
||||
FAR struct nxbe_window_s *wnd;
|
||||
struct nxgl_rect_s update;
|
||||
#endif
|
||||
|
||||
|
@ -100,6 +101,7 @@ static void nxbe_clipmovesrc(FAR struct nxbe_clipops_s *cops,
|
|||
* apply the offset.
|
||||
*/
|
||||
|
||||
wnd = info->wnd;
|
||||
nxgl_rectoffset(&update, rect, offset.x - wnd->bounds.pt1.x,
|
||||
offset.y - wnd->bounds.pt1.y);
|
||||
|
||||
|
|
Loading…
Reference in a new issue