Make XDarwin not default to StaticColor on ix86 (Shantonu Sen).
This commit is contained in:
		
							parent
							
								
									f4c84e7dbf
								
							
						
					
					
						commit
						41641c11ec
					
				| 
						 | 
					@ -9,7 +9,7 @@
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 **************************************************************/
 | 
					 **************************************************************/
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * Copyright (c) 2001-2002 Torrey T. Lyons. All Rights Reserved.
 | 
					 * Copyright (c) 2001-2004 Torrey T. Lyons. All Rights Reserved.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Permission is hereby granted, free of charge, to any person obtaining a
 | 
					 * Permission is hereby granted, free of charge, to any person obtaining a
 | 
				
			||||||
 * copy of this software and associated documentation files (the "Software"),
 | 
					 * copy of this software and associated documentation files (the "Software"),
 | 
				
			||||||
| 
						 | 
					@ -33,7 +33,7 @@
 | 
				
			||||||
 * holders shall not be used in advertising or otherwise to promote the sale,
 | 
					 * holders shall not be used in advertising or otherwise to promote the sale,
 | 
				
			||||||
 * use or other dealings in this Software without prior written authorization.
 | 
					 * use or other dealings in this Software without prior written authorization.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
/* $XdotOrg: xc/programs/Xserver/hw/darwin/iokit/xfIOKit.c,v 1.3 2003/12/09 04:42:36 torrey Exp $ */
 | 
					/* $XdotOrg: xc/programs/Xserver/hw/darwin/iokit/xfIOKit.c,v 1.2 2004/04/23 19:15:17 eich Exp $ */
 | 
				
			||||||
/* $XFree86: xc/programs/Xserver/hw/darwin/iokit/xfIOKit.c,v 1.2 2003/10/16 23:50:09 torrey Exp $ */
 | 
					/* $XFree86: xc/programs/Xserver/hw/darwin/iokit/xfIOKit.c,v 1.2 2003/10/16 23:50:09 torrey Exp $ */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "X.h"
 | 
					#include "X.h"
 | 
				
			||||||
| 
						 | 
					@ -466,7 +466,9 @@ static Bool SetupFBandHID(
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef __i386__
 | 
					#ifdef __i386__
 | 
				
			||||||
    /* x86 in 8bit mode currently needs fixed color map... */
 | 
					    /* x86 in 8bit mode currently needs fixed color map... */
 | 
				
			||||||
    if( pixelInfo.bitsPerComponent == 8 ) {
 | 
					    if (pixelInfo.bitsPerComponent == 8 &&
 | 
				
			||||||
 | 
					        pixelInfo.componentCount == 1)
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
        pixelInfo.pixelType = kIOFixedCLUTPixels;
 | 
					        pixelInfo.pixelType = kIOFixedCLUTPixels;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue