summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_quad_alpha_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_quad_alpha_test.c')
-rw-r--r--src/mesa/pipe/softpipe/sp_quad_alpha_test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/pipe/softpipe/sp_quad_alpha_test.c b/src/mesa/pipe/softpipe/sp_quad_alpha_test.c
index 7b56bceba2..d056abe98d 100644
--- a/src/mesa/pipe/softpipe/sp_quad_alpha_test.c
+++ b/src/mesa/pipe/softpipe/sp_quad_alpha_test.c
@@ -84,8 +84,7 @@ alpha_test_quad(struct quad_stage *qs, struct quad_header *quad)
static void alpha_test_begin(struct quad_stage *qs)
{
- if (qs->next)
- qs->next->begin(qs->next);
+ qs->next->begin(qs->next);
}