diff options
author | Pierre Willenbrock <[email protected]> | 2008-12-08 14:06:51 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2008-12-08 14:06:51 -0800 |
commit | a0d5c3cfe6582f8294154f6877319193458158a2 (patch) | |
tree | 623e908af94b550d4cf7f8132b755ef4e4b60ac9 /src/mesa/drivers/dri | |
parent | f849d364c22e702e3dda664fa65601d4cf2b55a5 (diff) |
intel: Require the right amount of space in glBitmap blit acceleration.
This leads to problems when the batchbuffer is flushed, but the bitmap
data could not fit into it.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_blit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_blit.c b/src/mesa/drivers/dri/intel/intel_blit.c index ab12aae6c71..2f1639d4a4c 100644 --- 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; |