summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/x11
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-05-08 19:11:21 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-05-08 19:11:21 +0000
commitc93c18abf1950e1494f11166e3f52973efbd6b75 (patch)
treeb8f8faa04ce10dd80ad8d756b9e3ae40baeb6d73 /src/mesa/drivers/x11
parent71b2504e0390fa19f133647c8686d830f8f40eb6 (diff)
fix warning
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r--src/mesa/drivers/x11/xm_tri.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/x11/xm_tri.c b/src/mesa/drivers/x11/xm_tri.c
index d08fd8f816..289ce11be6 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 */
}