Page MenuHomeFreeBSD

D34412.diff
No OneTemporary

D34412.diff

diff --git a/sys/dev/vt/hw/vga/vt_vga.c b/sys/dev/vt/hw/vga/vt_vga.c
--- a/sys/dev/vt/hw/vga/vt_vga.c
+++ b/sys/dev/vt/hw/vga/vt_vga.c
@@ -582,7 +582,8 @@
/* The pixel "j" uses color "color". */
for (plane = 0; plane < 4; ++plane)
planes[i * 4 + plane] |=
- ((color >> plane) & 0x1) << (7 - j);
+ ((cons_to_vga_colors[color] >>
+ plane) & 0x1) << (7 - j);
}
}
}

File Metadata

Mime Type
text/plain
Expires
Thu, Feb 6, 12:03 AM (21 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16483246
Default Alt Text
D34412.diff (412 B)

Event Timeline