diff options
Diffstat (limited to 'nuttx/graphics/nxsu')
-rw-r--r-- | nuttx/graphics/nxsu/nx_open.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/graphics/nxsu/nx_open.c b/nuttx/graphics/nxsu/nx_open.c index 15efd3dbe..901b77109 100644 --- a/nuttx/graphics/nxsu/nx_open.c +++ b/nuttx/graphics/nxsu/nx_open.c @@ -139,8 +139,8 @@ static inline int nxsu_setup(FAR struct fb_vtable_s *fb, fe->be.bkgd.be = &fe->be; fe->be.bkgd.cb = &g_bkgdcb; - fe->be.bkgd.bounds.pt2.x = fe->be.vinfo.xres; - fe->be.bkgd.bounds.pt2.y = fe->be.vinfo.yres; + fe->be.bkgd.bounds.pt2.x = fe->be.vinfo.xres - 1; + fe->be.bkgd.bounds.pt2.y = fe->be.vinfo.yres - 1; /* Complete initialization of the server state structure. The * window list contains only one element: The background window |