From: Brian Paul Date: Mon, 21 Aug 2000 14:26:01 +0000 (+0000) Subject: use ImageTransferState X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b61162d431ecf4944f6390f7df46765a839a2d1;p=mesa.git use ImageTransferState --- diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index fc8bbb82428..14c0c5f64ea 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 {