oops for 32 pitch.. hey I can see stuff on fbcon now.. it looks like text.. just a bit garbled

main
David Airlie 2007-04-11 17:25:37 +10:00
parent 1147fefed8
commit 0392badd84
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ static int drmfb_setcolreg(unsigned regno, unsigned red, unsigned green,
((blue & 0xf800) >> 11);
break;
case 24:
case 32:
fb->pseudo_palette[regno] = ((red & 0xff00) << 8) |
(green & 0xff00) |
((blue & 0xff00) >> 8);