fb: drop obsolete FbMaskStip macro

Hasn't been used since 24bpp support was dropped, almost a decade ago.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-05 13:21:03 +02:00
parent db2568b834
commit 5504bc42ae

15
fb/fb.h
View File

@ -270,21 +270,6 @@ extern _X_EXPORT void fbSetBits(FbStip * bits, int stride, FbStip data);
} \ } \
} }
#define FbMaskStip(x,w,l,n,r) { \
n = (w); \
r = FbRightStipMask((x)+n); \
l = FbLeftStipMask(x); \
if (l) { \
n -= FB_STIP_UNIT - ((x) & FB_STIP_MASK); \
if (n < 0) { \
n = 0; \
l &= r; \
r = 0; \
} \
} \
n >>= FB_STIP_SHIFT; \
}
/* /*
* These macros are used to transparently stipple * These macros are used to transparently stipple
* in copy mode; the expected usage is with 'n' constant * in copy mode; the expected usage is with 'n' constant