From 3198cd4a65b135005515c6dd35d006330ce31c94 Mon Sep 17 00:00:00 2001 From: Maciej Cencora Date: Wed, 10 Mar 2010 22:31:53 +0100 Subject: radeon: fallback to sw ReadPixels if color logicop is enabled Fixes glean/logicOp (regressed after introducing hw accelerated support for ReadPixels) --- src/mesa/drivers/dri/radeon/radeon_pixel_read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/radeon') diff --git a/src/mesa/drivers/dri/radeon/radeon_pixel_read.c b/src/mesa/drivers/dri/radeon/radeon_pixel_read.c index 27841938e66..b180c1d9a5c 100644 --- a/src/mesa/drivers/dri/radeon/radeon_pixel_read.c +++ b/src/mesa/drivers/dri/radeon/radeon_pixel_read.c @@ -96,7 +96,7 @@ do_blit_readpixels(GLcontext * ctx, return GL_FALSE; } - if (ctx->_ImageTransferState) { + if (ctx->_ImageTransferState || ctx->Color._LogicOpEnabled) { return GL_FALSE; } -- cgit v1.2.3