summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-03-09 09:08:41 -0700
committerBrian <brian@yutani.localnet.net>2007-03-09 09:13:49 -0700
commitf9f79c8d770e696249bd98c68b563f887562c974 (patch)
treeeeb8fbfa43c0e33bfbc6113679cb1f49e418d1c0 /src/mesa/main/mtypes.h
parent4d9901a1cab8e0d55b1b2309cf3ffec235e53149 (diff)
downloadexternal_mesa3d-f9f79c8d770e696249bd98c68b563f887562c974.zip
external_mesa3d-f9f79c8d770e696249bd98c68b563f887562c974.tar.gz
external_mesa3d-f9f79c8d770e696249bd98c68b563f887562c974.tar.bz2
New IMAGE_RED_TO_LUMINANCE flag passed to _mesa_pack_rgba_span_float() to fix glGetTexImage(GL_LUMINANCE) bug #10232.
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 422d176..7caa1f8 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2540,6 +2540,7 @@ struct matrix_stack
#define IMAGE_HISTOGRAM_BIT 0x200
#define IMAGE_MIN_MAX_BIT 0x400
#define IMAGE_CLAMP_BIT 0x800 /* extra */
+#define IMAGE_RED_TO_LUMINANCE 0x1000
/** Pixel Transfer ops up to convolution */