summaryrefslogtreecommitdiff
path: root/networking/ipcalc.c
diff options
context:
space:
mode:
authorYin Kangkai2012-02-23 15:56:36 +0800
committerDenys Vlasenko2012-02-29 18:07:59 +0100
commit3ac066c25670ccf6a992c49340287379c9a342bc (patch)
tree6b770e7f114091be3883719fd9bc2f10d5dba5dd /networking/ipcalc.c
parent62c006d508552a6ac547b807eb9ad0a32a76e1c9 (diff)
downloadbusybox-3ac066c25670ccf6a992c49340287379c9a342bc.zip
busybox-3ac066c25670ccf6a992c49340287379c9a342bc.tar.gz
fbsplash: use line_length instead of xres * bytes_per_pixel
In some system (e.g. my "strange" device), line_length is not equal xres * bytes_per_pixel, so we need to use line_length in scr_fix to mmap and draw rectangle etc. My "strange" device output this: bytes_per_pixel: 4 xres: 600, yres: 1024 yoffset: 0, xoffset: 0, line_length: 2432 G.addr: b74da000 Signed-off-by: Yin Kangkai <kangkai.yin@intel.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ipcalc.c')
0 files changed, 0 insertions, 0 deletions