projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89cce53
)
intel: Fix up INTEL_NO_HW support.
author
Eric Anholt
<eric@anholt.net>
Thu, 25 Feb 2010 22:27:07 +0000
(14:27 -0800)
committer
Eric Anholt
<eric@anholt.net>
Fri, 26 Feb 2010 02:36:44 +0000
(18:36 -0800)
This was accidentally (it seems) deleted in
5203b7227ccb6b618fa42f08434d4a3cf123dca2
src/mesa/drivers/dri/intel/intel_batchbuffer.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_batchbuffer.c
b/src/mesa/drivers/dri/intel/intel_batchbuffer.c
index
4c99dcd
..
e38f10e
100644
(file)
--- 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);