From c93c18abf1950e1494f11166e3f52973efbd6b75 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 8 May 2006 19:11:21 +0000 Subject: fix warning --- src/mesa/drivers/x11/xm_tri.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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 */ } -- cgit v1.2.3