projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01bf004
)
mesa: added GL_DU8DV8_ATI in extract_float_rgba()
author
Brian Paul
<brianp@vmware.com>
Mon, 4 Jan 2010 20:59:43 +0000
(13:59 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 4 Jan 2010 21:01:19 +0000
(14:01 -0700)
Fixes warning seen with Shadowgrounds. See bug 24016.
src/mesa/main/image.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/image.c
b/src/mesa/main/image.c
index 139e56a96be037a21fd249ec35d1c1b7c7c46d80..3b685cb9471e6996fe1b6e99b541552f04a3ccda 100644
(file)
--- 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;