use ImageTransferState
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 21 Aug 2000 14:26:01 +0000 (14:26 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 21 Aug 2000 14:26:01 +0000 (14:26 +0000)
src/mesa/drivers/glide/fxdd.c

index fc8bbb8242850fceaa6846daff3f1195d524c6bd..14c0c5f64ea54967b8e56691d53b4d7689728239 100644 (file)
@@ -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 {