projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f849d36
)
intel: Require the right amount of space in glBitmap blit acceleration.
author
Pierre Willenbrock
<pierre@pirsoft.de>
Mon, 8 Dec 2008 22:06:51 +0000
(14:06 -0800)
committer
Eric Anholt
<eric@anholt.net>
Mon, 8 Dec 2008 22:06:51 +0000
(14:06 -0800)
This leads to problems when the batchbuffer is flushed, but the bitmap
data could not fit into it.
src/mesa/drivers/dri/intel/intel_blit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_blit.c
b/src/mesa/drivers/dri/intel/intel_blit.c
index ab12aae6c712fd6524b1d000c2d3fdc84d979ab2..2f1639d4a4c116cc8ed2763a8e7f1fd25f637e74 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_blit.c
+++ b/
src/mesa/drivers/dri/intel/intel_blit.c
@@
-600,7
+600,7
@@
intelEmitImmediateColorExpandBlit(struct intel_context *intel,
intel_batchbuffer_require_space( intel->batch,
(8 * 4) +
(3 * 4) +
- dwords,
+ dwords
* 4
,
REFERENCES_CLIPRECTS );
opcode = XY_SETUP_BLT_CMD;