svn commit: r211669 - user/nwhitehorn/ps3/powerpc/ps3
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Mon Aug 23 00:15:50 UTC 2010
Author: nwhitehorn
Date: Mon Aug 23 00:15:50 2010
New Revision: 211669
URL: http://svn.freebsd.org/changeset/base/211669
Log:
Unswap the red and blue channels. sysinstall looks awfully funny with
red and blue inverted.
Modified:
user/nwhitehorn/ps3/powerpc/ps3/ps3_syscons.c
Modified: user/nwhitehorn/ps3/powerpc/ps3/ps3_syscons.c
==============================================================================
--- user/nwhitehorn/ps3/powerpc/ps3/ps3_syscons.c Mon Aug 23 00:11:37 2010 (r211668)
+++ user/nwhitehorn/ps3/powerpc/ps3/ps3_syscons.c Mon Aug 23 00:15:50 2010 (r211669)
@@ -214,9 +214,9 @@ ps3fb_pix32(int attr)
{
u_int retval;
- retval = (ps3fb_cmap[attr].blue << 16) |
+ retval = (ps3fb_cmap[attr].red << 16) |
(ps3fb_cmap[attr].green << 8) |
- ps3fb_cmap[attr].red;
+ ps3fb_cmap[attr].blue;
return (retval);
}
More information about the svn-src-user
mailing list