diff options
author | Xiang, Haihao <[email protected]> | 2007-03-21 10:50:19 +0800 |
---|---|---|
committer | Xiang, Haihao <[email protected]> | 2007-03-21 10:50:19 +0800 |
commit | 704cd61120443501530279937a144a5dd4b6399e (patch) | |
tree | 7d754acf94490d62752056288f76a483bbb354a3 /src/mesa/main/texstore.c | |
parent | 4bafc547df4af0b560dcc6b72c0a6c37d7754abb (diff) |
mesa: revert f9f79c8d770e696249bd98c68b563f887562c974
to fix #10232
Table6.1(in gl2.1) has been applied for glGetTexImage
before calling into _mesa_pack_rgba_span_float.
Diffstat (limited to 'src/mesa/main/texstore.c')
-rw-r--r-- | src/mesa/main/texstore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index 2098bdddbf0..a570525155b 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c @@ -3630,7 +3630,7 @@ _mesa_get_teximage(GLcontext *ctx, GLenum target, GLint level, } _mesa_pack_rgba_span_float(ctx, width, (GLfloat (*)[4]) rgba, format, type, dest, - &ctx->Pack, IMAGE_RED_TO_LUMINANCE); + &ctx->Pack, 0x0 /*image xfer ops*/); } /* format */ } /* row */ } /* img */ |