9
0
Fork 0

BMP: Add support for 32bpp video frame buffer

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Gregory CLEMENT 2011-01-04 15:39:55 +01:00 committed by Sascha Hauer
parent 2f07c8f415
commit 7093f3fd20
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ static inline void set_pixel(struct fb_info *info, void *adr, int r, int g, int
*(u16 *)adr = px;
break;
case 32:
*(u32 *)adr = px;
break;
}
}