summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 */
}