Mesa (mesa_7_7_branch): mesa: added GL_DU8DV8_ATI in extract_float_rgba()
Brian Paul
brianp at kemper.freedesktop.org
Mon Jan 4 21:01:40 UTC 2010
Module: Mesa
Branch: mesa_7_7_branch
Commit: 82421c549f782cee0d377a064852813117ff6850
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=82421c549f782cee0d377a064852813117ff6850
Author: Brian Paul <brianp at vmware.com>
Date: Mon Jan 4 13:59:43 2010 -0700
mesa: added GL_DU8DV8_ATI in extract_float_rgba()
Fixes warning seen with Shadowgrounds. See bug 24016.
---
src/mesa/main/image.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c
index 139e56a..3b685cb 100644
--- a/src/mesa/main/image.c
+++ b/src/mesa/main/image.c
@@ -3228,6 +3228,7 @@ extract_float_rgba(GLuint n, GLfloat rgba[][4],
srcFormat == GL_RGBA ||
srcFormat == GL_BGRA ||
srcFormat == GL_ABGR_EXT ||
+ srcFormat == GL_DU8DV8_ATI ||
srcFormat == GL_DUDV_ATI);
ASSERT(srcType == GL_UNSIGNED_BYTE ||
@@ -3343,6 +3344,7 @@ extract_float_rgba(GLuint n, GLfloat rgba[][4],
aComp = 0;
stride = 4;
break;
+ case GL_DU8DV8_ATI:
case GL_DUDV_ATI:
redIndex = 0;
greenIndex = 1;
More information about the mesa-commit
mailing list