Skip to contentSkip to conversation

neofb: Fill transp->msb_right with the correct value

PATCH RESEND New Antonino A. Daplas 1 participant 1 message Feb 25, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 6/9 neofb: Fill transp->msb_right with the correct value

Fill transp->msb_right with the correct value. fbcon ignores this, but user apps may not.

---

 drivers/video/neofb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/video/neofb.c +1 -0
index 395cced..bd30aba 100644
@@ -665,6 +665,7 @@ neofb_check_var(struct fb_var_screeninfo
 	var->red.msb_right = 0;
 	var->green.msb_right = 0;
 	var->blue.msb_right = 0;
+	var->transp.msb_right = 0;
 
 	switch (var->bits_per_pixel) {
 	case 8:		/* PSEUDOCOLOUR, 256 */

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV