summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-08-21 14:26:01 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-08-21 14:26:01 +0000
commit9b61162d431ecf4944f6390f7df46765a839a2d1 (patch)
treec4157e7b1b0a4b5b22dd8ddc280ded4479f3cb06 /src
parent3f8a70e5dde42ea30bc7d3ab02e3cd5c2b0cc3d6 (diff)
use ImageTransferState
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/glide/fxdd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c
index fc8bbb8242..14c0c5f64e 100644
--- a/src/mesa/drivers/glide/fxdd.c
+++ b/src/mesa/drivers/glide/fxdd.c
@@ -535,7 +535,7 @@ static GLboolean fxDDReadPixels( GLcontext *ctx, GLint x, GLint y,
const struct gl_pixelstore_attrib *packing,
GLvoid *dstImage )
{
- if (ctx->Pixel.ScaleOrBiasRGBA || ctx->Pixel.MapColorFlag) {
+ if (ctx->ImageTransferState) {
return GL_FALSE; /* can't do this */
}
else {