Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109432778
D34412.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
412 B
Referenced Files
None
Subscribers
None
D34412.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
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)
Attached To
Mode
D34412: vg_vga: fix color in pixel blocks with more than 4 colors
Attached
Detach File
Event Timeline
Log In to Comment