Commit ea5bed50 authored by William Roberts's avatar William Roberts Committed by Christian Beier

Corrected resolution issue, but screen is getting reported as wrong size

parent 5be89ead
......@@ -189,7 +189,7 @@ static void init_fb_server(int argc, char **argv)
assert(fbbuf != NULL);
/* TODO: This assumes scrinfo.bits_per_pixel is 16. */
vncscr = rfbGetScreen(&argc, argv, scrinfo.xres, scrinfo.yres, 5, 2, 2);
vncscr = rfbGetScreen(&argc, argv, scrinfo.xres, scrinfo.yres, 5, 2, (scrinfo.bits_per_pixel / 8));
assert(vncscr != NULL);
vncscr->desktopName = "Android";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment