diff options
author | Eric Anholt <[email protected]> | 2010-02-25 14:27:07 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-02-25 18:36:44 -0800 |
commit | fc26f894babc47dd3a823bd4d63ee4d8ee0dad04 (patch) | |
tree | e7a466cf9994bb492a19471612c420418635a408 /src/mesa/drivers/dri | |
parent | 89cce536cbc55460bc534acc06ea9f4d9ae71016 (diff) |
intel: Fix up INTEL_NO_HW support.
This was accidentally (it seems) deleted in
5203b7227ccb6b618fa42f08434d4a3cf123dca2
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_batchbuffer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_batchbuffer.c b/src/mesa/drivers/dri/intel/intel_batchbuffer.c index 4c99dcde23f..e38f10ebc63 100644 --- a/src/mesa/drivers/dri/intel/intel_batchbuffer.c +++ b/src/mesa/drivers/dri/intel/intel_batchbuffer.c @@ -104,7 +104,8 @@ do_flush_locked(struct intel_batchbuffer *batch, GLuint used) batch->map = NULL; batch->ptr = NULL; - dri_bo_exec(batch->buf, used, NULL, 0, (x_off & 0xffff) | (y_off << 16)); + if (!intel->no_hw) + dri_bo_exec(batch->buf, used, NULL, 0, (x_off & 0xffff) | (y_off << 16)); if (INTEL_DEBUG & DEBUG_BATCH) { dri_bo_map(batch->buf, GL_FALSE); |