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
parent f244180eba
commit 5ef99b0a2d
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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)