summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMaciej Cencora <[email protected]>2010-03-10 22:31:53 +0100
committerMaciej Cencora <[email protected]>2010-03-10 22:33:40 +0100
commit3198cd4a65b135005515c6dd35d006330ce31c94 (patch)
tree2dc8de11b21f6e51b97bbba3e205ef814abecc59 /src/mesa
parentaddedd091e81907837b3aa0680b242b8fdbde7ef (diff)
radeon: fallback to sw ReadPixels if color logicop is enabled
Fixes glean/logicOp (regressed after introducing hw accelerated support for ReadPixels)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_pixel_read.c2
1 files changed, 1 insertions, 1 deletions
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;
}