Date: Sun, 27 Oct 2013 15:14:27 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r257211 - user/ed/newcons/sys/dev/vt/hw/ofwfb Message-ID: <201310271514.r9RFERP4014289@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310271514.r9RFERP4014289>