On Sun, 21 Jul 2002, Andrew C Aitchison wrote:
>
> The color map handling code (in both the server and each driver)
> has lines like:
>
> if((1 << pVisual->nplanes) > pScreenPriv->maxColors) {
>
> So far pVisual->nplanes, which is often equal to the depth,
> doesn't exceed 24*, so no problems.
>
#define DEPTH_TO_COLORS(d) ((((d) - 1) << 1) | ((((d) - 1) << 1) - 1))
Mark.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert
