Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178138076
D34412.1796081664.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
412 B
Referenced Files
None
Subscribers
None
D34412.1796081664.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 30, 11:34 PM (23 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42114974
Default Alt Text
D34412.1796081664.diff (412 B)
Attached To
Mode
D34412: vg_vga: fix color in pixel blocks with more than 4 colors
Attached
Detach File
Event Timeline