OSDN Git Service

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 fc8bbb8..14c0c5f 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 {