summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-08-21 14:26:01 +0000
committerBrian Paul <[email protected]>2000-08-21 14:26:01 +0000
commit9b61162d431ecf4944f6390f7df46765a839a2d1 (patch)
treec4157e7b1b0a4b5b22dd8ddc280ded4479f3cb06
parent3f8a70e5dde42ea30bc7d3ab02e3cd5c2b0cc3d6 (diff)
use ImageTransferState
-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 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 {