i915g: Don't flush empty batchbuffers

This commit is contained in:
Jakob Bornecrantz 2010-07-03 12:30:46 +01:00
parent ed5ce78b81
commit 62bcf2e6ad
1 changed files with 0 additions and 2 deletions

View File

@ -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:
*/