mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
FB: Add a display number to the framebuffer planeinfo structure
This commit is contained in:
@@ -208,6 +208,7 @@ static int up_getplaneinfo(FAR struct fb_vtable_s *vtable, int planeno,
|
|||||||
pinfo->fbmem = (FAR void *)session->fb;
|
pinfo->fbmem = (FAR void *)session->fb;
|
||||||
pinfo->fblen = RFB_SIZE;
|
pinfo->fblen = RFB_SIZE;
|
||||||
pinfo->stride = RFB_STRIDE;
|
pinfo->stride = RFB_STRIDE;
|
||||||
|
pinfo->display = fbinfo->display;
|
||||||
pinfo->bpp = RFB_BITSPERPIXEL;
|
pinfo->bpp = RFB_BITSPERPIXEL;
|
||||||
|
|
||||||
return OK;
|
return OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user