From 62bcf2e6ad7f74affa4e1240c2ea41339a4c95db Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sat, 3 Jul 2010 12:30:46 +0100 Subject: [PATCH] i915g: Don't flush empty batchbuffers --- src/gallium/drivers/i915/i915_flush.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/drivers/i915/i915_flush.c b/src/gallium/drivers/i915/i915_flush.c index 967146479d1..482d28eb96a 100644 --- a/src/gallium/drivers/i915/i915_flush.c +++ b/src/gallium/drivers/i915/i915_flush.c @@ -67,11 +67,9 @@ static void i915_flush( struct pipe_context *pipe, } #endif -#if 0 if (i915->batch->map == i915->batch->ptr) { return; } -#endif /* If there are no flags, just flush pending commands to hardware: */ -- 2.30.2