failover: queiten compiler warnings
[mesa.git] / src / gallium / drivers / i915simple / i915_flush.c
index 7d23e6b6b90572cc1b82de5518d1bce8db8a4241..472e0ab7740b7f6f6e75fb12d41397407548d9e0 100644 (file)
@@ -62,12 +62,12 @@ static void i915_flush( struct pipe_context *pipe,
         assert(BEGIN_BATCH(1, 0));
       }
       OUT_BATCH( flush );
-      ADVANCE_BATCH();
    }
 
    /* If there are no flags, just flush pending commands to hardware:
     */
    FLUSH_BATCH(fence);
+   i915->vbo_flushed = 1;
 }