Merge branch '7.8'
[mesa.git] / src / gallium / drivers / svga / svga_swtnl_state.c
index 246d34e649efe1bba1d4a21de27663c0073e47ad..a75923829364190c4a1c8f2812c3c442c2e39078 100644 (file)
@@ -113,7 +113,8 @@ static int update_swtnl_draw( struct svga_context *svga,
 
    if (dirty & SVGA_NEW_RAST)
       draw_set_rasterizer_state(svga->swtnl.draw,
-                                &svga->curr.rast->templ);
+                                &svga->curr.rast->templ,
+                                (void *) svga->curr.rast);
 
    if (dirty & SVGA_NEW_FRAME_BUFFER)
       draw_set_mrd(svga->swtnl.draw,