mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
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:
@@ -42,6 +42,8 @@
|
||||
#include "globals.h"
|
||||
#include "micmap.h"
|
||||
|
||||
#define MIN_TRUE_DEPTH 6
|
||||
|
||||
#define ALL_VISUALS (StaticGrayMask|GrayScaleMask|StaticColorMask|\
|
||||
PseudoColorMask|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);
|
||||
|
||||
#define MAX_PSEUDO_DEPTH 10
|
||||
#define MIN_TRUE_DEPTH 6
|
||||
|
||||
#define StaticGrayMask (1 << StaticGray)
|
||||
#define GrayScaleMask (1 << GrayScale)
|
||||
|
||||
Reference in New Issue
Block a user