svn commit: r257211 - user/ed/newcons/sys/dev/vt/hw/ofwfb
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Sun Oct 27 15:14:27 UTC 2013
Author: nwhitehorn
Date: Sun Oct 27 15:14:27 2013
New Revision: 257211
URL: http://svnweb.freebsd.org/changeset/base/257211
Log:
Get colors right on mac framebuffers.
Modified:
user/ed/newcons/sys/dev/vt/hw/ofwfb/ofwfb.c
Modified: user/ed/newcons/sys/dev/vt/hw/ofwfb/ofwfb.c
==============================================================================
--- user/ed/newcons/sys/dev/vt/hw/ofwfb/ofwfb.c Sun Oct 27 14:27:11 2013 (r257210)
+++ user/ed/newcons/sys/dev/vt/hw/ofwfb/ofwfb.c Sun Oct 27 15:14:27 2013 (r257211)
@@ -158,7 +158,7 @@ ofwfb_initialize(struct vt_device *vd)
switch (sc->sc_depth) {
case 8:
vt_generate_vga_palette(sc->sc_colormap, COLOR_FORMAT_RGB, 255,
- 16, 255, 8, 255, 0);
+ 0, 255, 8, 255, 16);
for (i = 0; i < 16; i++) {
OF_call_method("color!", ih, 4, 1,
More information about the svn-src-user
mailing list