From: Maciej Cencora Date: Wed, 10 Mar 2010 21:31:53 +0000 (+0100) Subject: radeon: fallback to sw ReadPixels if color logicop is enabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3198cd4a65b135005515c6dd35d006330ce31c94;p=mesa.git radeon: fallback to sw ReadPixels if color logicop is enabled Fixes glean/logicOp (regressed after introducing hw accelerated support for ReadPixels) --- 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; }