draw: remove unnecessary flush
authorMarek Olšák <maraeo@gmail.com>
Mon, 7 Mar 2011 23:45:41 +0000 (00:45 +0100)
committerMarek Olšák <maraeo@gmail.com>
Fri, 11 Mar 2011 01:02:16 +0000 (02:02 +0100)
src/gallium/auxiliary/draw/draw_pipe_pstipple.c

index ea62c9739fd03de0d96b4ab2131b6b84f7ed3e42..fe3627be867e13d3d3fba3c08ea875c1f0abc71a 100644 (file)
@@ -388,13 +388,6 @@ pstip_update_texture(struct pstip_stage *pstip)
    uint i, j;
    ubyte *data;
 
-   /* XXX: want to avoid flushing just because we use stipple: 
-    *
-    * Flush should no longer be necessary if driver is properly
-    * interleaving drawing and transfers on a given context:
-    */
-   pipe->flush( pipe, PIPE_FLUSH_TEXTURE_CACHE, NULL );
-
    transfer = pipe_get_transfer(pipe, pstip->texture, 0, 0,
                                 PIPE_TRANSFER_WRITE, 0, 0, 32, 32);
    data = pipe->transfer_map(pipe, transfer);