/**********************************************************************/
+#if CHAN_BITS == 8
+
+
#define GET_XRB(XRB) struct xmesa_renderbuffer *XRB = \
xmesa_renderbuffer(ctx->DrawBuffer->_ColorDrawBuffers[0][0]->Wrapped)
+
#ifndef XFree86Server
/**
* Draw fast, XOR line with XDrawLine in front color buffer.
#endif /* XFree86Server */
+#endif /* CHAN_BITS == 8 */
+
+
/**
* Return pointer to line drawing function, or NULL if we should use a
* swrast fallback.
static swrast_line_func
get_line_func(GLcontext *ctx)
{
+#if CHAN_BITS == 8
XMesaContext xmesa = XMESA_CONTEXT(ctx);
SWcontext *swrast = SWRAST_CONTEXT(ctx);
int depth = GET_VISUAL_DEPTH(xmesa->xm_visual);
}
#endif /* XFree86Server */
+#endif /* CHAN_BITS == 8 */
return (swrast_line_func) NULL;
}