gallium: unify transfer functions
[mesa.git] / src / gallium / drivers / softpipe / sp_flush.c
index 28660850d294065f7f20b6e5515862d798d80fce..e28236afc5065bbb35d9e4de38d473ef16ab5fe8 100644 (file)
@@ -75,14 +75,6 @@ softpipe_flush( struct pipe_context *pipe,
 
    softpipe->dirty_render_cache = FALSE;
 
-   /* Need this call for hardware buffers before swapbuffers.
-    *
-    * there should probably be another/different flush-type function
-    * that's called before swapbuffers because we don't always want
-    * to unmap surfaces when flushing.
-    */
-   softpipe_unmap_transfers(softpipe);
-
    /* Enable to dump BMPs of the color/depth buffers each frame */
 #if 0
    if(flags & PIPE_FLUSH_FRAME) {