svga: add context pointer to the invalidate surface interface
[mesa.git] / src / gallium / drivers / svga / svga_context.c
index 04466fb7dee8735223c025935a7bee24c631bbc9..a6f3b34890d5ba734f87df41173b76301f693bda 100644 (file)
@@ -367,7 +367,7 @@ svga_context_flush(struct svga_context *svga,
 
    svga->hud.num_flushes++;
 
-   svga_screen_cache_flush(svgascreen, fence);
+   svga_screen_cache_flush(svgascreen, svga, fence);
 
    SVGA3D_ResetLastCommand(svga->swc);