oops for 32 pitch.. hey I can see stuff on fbcon now.. it looks like text.. just a bit garbled
parent
1147fefed8
commit
0392badd84
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue