i965: Use GTT maps when available to upload vertex arrays and system VBOs.
[mesa.git] / src / mesa / drivers / dri / i965 / brw_state_batch.c
index 94ef924868697e40725952a0325adec8d754ccdf..811940edc0524b0fde8f57e41de36a0fa9706210 100644 (file)
@@ -97,10 +97,6 @@ void brw_clear_batch_cache_flush( struct brw_context *brw )
 {
    clear_batch_cache(brw);
 
-   brw->wrap = 0;
-   
-/*    brw_do_flush(brw, BRW_FLUSH_STATE_CACHE|BRW_FLUSH_READ_CACHE); */
-   
    brw->state.dirty.mesa |= ~0;
    brw->state.dirty.brw |= ~0;
    brw->state.dirty.cache |= ~0;