include surface.offset in address calculations
[mesa.git] / src / mesa / pipe / softpipe / sp_quad_blend.c
index 3d097aea65e155fdeba0ebe64a8f86e9e3fe69ed..09d0aa258c75ac55189b8766fbb7d51eaef44f29 100644 (file)
@@ -382,6 +382,11 @@ blend_quad(struct quad_stage *qs, struct quad_header *quad)
 }
 
 
+static void blend_begin(struct quad_stage *qs)
+{
+   if (qs->next)
+      qs->next->begin(qs->next);
+}
 
 
 struct quad_stage *sp_quad_blend_stage( struct softpipe_context *softpipe )
@@ -389,6 +394,7 @@ struct quad_stage *sp_quad_blend_stage( struct softpipe_context *softpipe )
    struct quad_stage *stage = CALLOC_STRUCT(quad_stage);
 
    stage->softpipe = softpipe;
+   stage->begin = blend_begin;
    stage->run = blend_quad;
 
    return stage;