From: Brian Paul Date: Mon, 8 May 2006 19:11:21 +0000 (+0000) Subject: fix warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c93c18abf1950e1494f11166e3f52973efbd6b75;p=mesa.git fix warning --- diff --git a/src/mesa/drivers/x11/xm_tri.c b/src/mesa/drivers/x11/xm_tri.c index d08fd8f8161..289ce11be62 100644 --- a/src/mesa/drivers/x11/xm_tri.c +++ b/src/mesa/drivers/x11/xm_tri.c @@ -1617,10 +1617,9 @@ get_triangle_func(GLcontext *ctx) } } } +#endif /* CHAN_BITS == 8 */ -#else return (swrast_tri_func) NULL; -#endif /* CHAN_BITS == 8 */ }