summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/failover/fo_state_emit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/failover/fo_state_emit.c')
-rw-r--r--src/mesa/pipe/failover/fo_state_emit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/pipe/failover/fo_state_emit.c b/src/mesa/pipe/failover/fo_state_emit.c
index c0ea681024..a3aff8abd2 100644
--- a/src/mesa/pipe/failover/fo_state_emit.c
+++ b/src/mesa/pipe/failover/fo_state_emit.c
@@ -56,7 +56,8 @@ failover_state_emit( struct failover_context *failover )
unsigned i;
if (failover->dirty & FO_NEW_ALPHA_TEST)
- failover->sw->set_alpha_test_state( failover->sw, &failover->alpha_test );
+ failover->sw->bind_alpha_test_state( failover->sw,
+ failover->alpha_test->sw_state );
if (failover->dirty & FO_NEW_BLEND)
failover->sw->bind_blend_state( failover->sw,