i915g: Don't flush empty batchbuffers
This commit is contained in:
parent
ed5ce78b81
commit
62bcf2e6ad
|
@ -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:
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue