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:
Enrico Weigelt, metux IT consult
2025-02-25 17:32:13 +01:00
committed by Enrico Weigelt, metux IT consult .
parent 32b3328e49
commit 118e438359
2 changed files with 2 additions and 1 deletions

View File

@@ -41,6 +41,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)

View File

@@ -36,7 +36,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)