evas/fb: use virtual sizes to describe the fb mode geometry.

This was causing the fb engine to draw incorrectly when the virtual size
was different from the size (xres != xres_virtual). For example, it
happens an additional monitor is plugged into a notebook.
Patch for SiT.



SVN revision: 64259
This commit is contained in:
Rafael Antognolli 2011-10-21 16:21:09 +00:00
parent ca46030e4d
commit 78410d7e8f
1 changed files with 2 additions and 2 deletions

View File

@ -325,8 +325,8 @@ fb_getmode(void)
return NULL;
}
mode->width = mode->fb_var.xres;
mode->height = mode->fb_var.yres;
mode->width = mode->fb_var.xres_virtual;
mode->height = mode->fb_var.yres_virtual;
hpix =
mode->fb_var.left_margin +
mode->fb_var.xres +