[intel] Remove remaining references to intel_wait_flips().
authorKristian Høgsberg <krh@redhat.com>
Wed, 21 Jan 2009 16:47:01 +0000 (11:47 -0500)
committerKristian Høgsberg <krh@redhat.com>
Wed, 21 Jan 2009 16:47:01 +0000 (11:47 -0500)
Oops.

src/mesa/drivers/dri/i915/intel_tris.c

index c4708dc7abc556dec184de58c422f367a052cc01..e80996580c7ca7b4aec3a5248692afdc9d88399e 100644 (file)
@@ -92,7 +92,6 @@ static void intel_start_inline(struct intel_context *intel, uint32_t prim)
    BATCH_LOCALS;
    uint32_t batch_flags = LOOP_CLIPRECTS;
 
-   intel_wait_flips(intel);
    intel->vtbl.emit_state(intel);
 
    intel->no_batch_wrap = GL_TRUE;
@@ -214,8 +213,7 @@ void intel_flush_prim(struct intel_context *intel)
       return;
 
    /* Clear the current prims out of the context state so that a batch flush
-    * flush triggered by wait_flips or emit_state doesn't loop back to
-    * flush_prim again.
+    * flush triggered by emit_state doesn't loop back to flush_prim again.
     */
    vb_bo = intel->prim.vb_bo;
    dri_bo_reference(vb_bo);
@@ -227,8 +225,6 @@ void intel_flush_prim(struct intel_context *intel)
       intel->prim.start_offset = ALIGN(intel->prim.start_offset, 128);
    intel->prim.flush = NULL;
 
-   intel_wait_flips(intel);
-
    intel->vtbl.emit_state(intel);
 
    aper_array[0] = intel->batch->buf;