mi: move MIN_TRUE_DEPTH define into micmap.c
This .c file is the only consumer of that define, so move it there instead of carrying it around in public API. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
		
							parent
							
								
									f244180eba
								
							
						
					
					
						commit
						5ef99b0a2d
					
				| 
						 | 
					@ -42,6 +42,8 @@
 | 
				
			||||||
#include "globals.h"
 | 
					#include "globals.h"
 | 
				
			||||||
#include "micmap.h"
 | 
					#include "micmap.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#define MIN_TRUE_DEPTH  6
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define ALL_VISUALS     (StaticGrayMask|GrayScaleMask|StaticColorMask|\
 | 
					#define ALL_VISUALS     (StaticGrayMask|GrayScaleMask|StaticColorMask|\
 | 
				
			||||||
                         PseudoColorMask|TrueColorMask|DirectColorMask)
 | 
					                         PseudoColorMask|TrueColorMask|DirectColorMask)
 | 
				
			||||||
#define LARGE_VISUALS   (TrueColorMask|DirectColorMask)
 | 
					#define LARGE_VISUALS   (TrueColorMask|DirectColorMask)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -38,7 +38,6 @@ extern _X_EXPORT Bool miInitVisuals(VisualPtr *, DepthPtr *, int *, int *,
 | 
				
			||||||
                                    int *, VisualID *, unsigned long, int, int);
 | 
					                                    int *, VisualID *, unsigned long, int, int);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define MAX_PSEUDO_DEPTH	10
 | 
					#define MAX_PSEUDO_DEPTH	10
 | 
				
			||||||
#define MIN_TRUE_DEPTH		6
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define StaticGrayMask	(1 << StaticGray)
 | 
					#define StaticGrayMask	(1 << StaticGray)
 | 
				
			||||||
#define GrayScaleMask	(1 << GrayScale)
 | 
					#define GrayScaleMask	(1 << GrayScale)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue