diff options
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/svga/svga_screen_cache.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/svga/svga_screen_cache.c b/src/gallium/drivers/svga/svga_screen_cache.c index bce46df91d7..86a04136e64 100644 --- a/src/gallium/drivers/svga/svga_screen_cache.c +++ b/src/gallium/drivers/svga/svga_screen_cache.c @@ -558,11 +558,6 @@ svga_screen_surface_destroy(struct svga_screen *svgascreen, * that case. */ if (SVGA_SURFACE_CACHE_ENABLED && key->cachable) { - - /* Invalidate the surface before putting it into the recycle pool */ - if (key->format != SVGA3D_BUFFER) - sws->surface_invalidate(sws, *p_handle); - svga_screen_cache_add(svgascreen, key, p_handle); } else { |