draw: Remove dead code.
[mesa.git] / src / gallium / drivers / softpipe / sp_flush.c
index db293a51a9f084b9b852f37777caf0f6aa09d8e9..e8952bf4fb863bdc7a9dc36ff7b2577aba16971d 100644 (file)
@@ -53,6 +53,9 @@ softpipe_flush( struct pipe_context *pipe,
       for (i = 0; i < softpipe->num_textures; i++) {
          sp_flush_tex_tile_cache(softpipe->tex_cache[i]);
       }
+      for (i = 0; i < softpipe->num_vertex_textures; i++) {
+         sp_flush_tex_tile_cache(softpipe->vertex_tex_cache[i]);
+      }
    }
 
    if (flags & PIPE_FLUSH_SWAPBUFFERS) {