From a0d5c3cfe6582f8294154f6877319193458158a2 Mon Sep 17 00:00:00 2001 From: Pierre Willenbrock Date: Mon, 8 Dec 2008 14:06:51 -0800 Subject: 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. --- src/mesa/drivers/dri/intel/intel_blit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mesa/drivers/dri/intel/intel_blit.c b/src/mesa/drivers/dri/intel/intel_blit.c index ab12aae6c7..2f1639d4a4 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; -- cgit v1.2.3