diff options
Diffstat (limited to 'src/i830_accel.c')
-rw-r--r-- | src/i830_accel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_accel.c b/src/i830_accel.c index 4302eca0..17c34090 100644 --- a/src/i830_accel.c +++ b/src/i830_accel.c @@ -58,7 +58,7 @@ void I830Sync(ScrnInfoPtr scrn) if (I810_DEBUG & (DEBUG_VERBOSE_ACCEL | DEBUG_VERBOSE_SYNC)) ErrorF("I830Sync\n"); - if (!scrn->vtSema || !intel->batch_bo) + if (!scrn->vtSema || !intel->batch_bo || !intel->batch_ptr) return; intel_batch_flush(scrn, TRUE); |