dix: Remove insane BC hacks
If your DDX needs a 1bpp mode and doesn't set it up, your DDX is incompetent.
This commit is contained in:
		
							parent
							
								
									66fb253082
								
							
						
					
					
						commit
						6b5206e7cb
					
				
							
								
								
									
										13
									
								
								dix/main.c
								
								
								
								
							
							
						
						
									
										13
									
								
								dix/main.c
								
								
								
								
							| 
						 | 
				
			
			@ -240,7 +240,7 @@ int dix_main(int argc, char *argv[], char *envp[])
 | 
			
		|||
int main(int argc, char *argv[], char *envp[])
 | 
			
		||||
#endif
 | 
			
		||||
{
 | 
			
		||||
    int		i, j, k;
 | 
			
		||||
    int		i;
 | 
			
		||||
    char	*xauthfile;
 | 
			
		||||
    HWEventQueueType	alwaysCheckForInput[2];
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -309,17 +309,6 @@ int main(int argc, char *argv[], char *envp[])
 | 
			
		|||
	if (!WindowTable)
 | 
			
		||||
	    FatalError("couldn't create root window table");
 | 
			
		||||
 | 
			
		||||
	/*
 | 
			
		||||
	 * Just in case the ddx doesnt supply a format for depth 1 (like qvss).
 | 
			
		||||
	 */
 | 
			
		||||
	j = indexForBitsPerPixel[ 1 ];
 | 
			
		||||
	k = indexForScanlinePad[ BITMAP_SCANLINE_PAD ];
 | 
			
		||||
	PixmapWidthPaddingInfo[1].padRoundUp = BITMAP_SCANLINE_PAD-1;
 | 
			
		||||
	PixmapWidthPaddingInfo[1].padPixelsLog2 = answer[j][k];
 | 
			
		||||
 	j = indexForBitsPerPixel[8]; /* bits per byte */
 | 
			
		||||
 	PixmapWidthPaddingInfo[1].padBytesLog2 = answer[j][k];
 | 
			
		||||
	PixmapWidthPaddingInfo[1].bitsPerPixel = 1;
 | 
			
		||||
 | 
			
		||||
	InitAtoms();
 | 
			
		||||
	InitEvents();
 | 
			
		||||
	InitSelections();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue