aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/formats.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-07-12 08:04:42 +0200
committermarha <marha@users.sourceforge.net>2011-07-12 08:04:42 +0200
commit3b47b2c35227184c0eb6dcf6dee8b79c4f9d4474 (patch)
treeba0e8f45ac50ead3283424f8794c7cbd38380805 /mesalib/src/mesa/main/formats.c
parent0b43e0b4ddbd9fdac70658164f3dbf653067a4de (diff)
downloadvcxsrv-3b47b2c35227184c0eb6dcf6dee8b79c4f9d4474.tar.gz
vcxsrv-3b47b2c35227184c0eb6dcf6dee8b79c4f9d4474.tar.bz2
vcxsrv-3b47b2c35227184c0eb6dcf6dee8b79c4f9d4474.zip
mesa git update 12 July 2011
Diffstat (limited to 'mesalib/src/mesa/main/formats.c')
-rw-r--r--mesalib/src/mesa/main/formats.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/formats.c b/mesalib/src/mesa/main/formats.c
index f58b19756..f9298d2d1 100644
--- a/mesalib/src/mesa/main/formats.c
+++ b/mesalib/src/mesa/main/formats.c
@@ -1485,7 +1485,9 @@ _mesa_test_formats(void)
info->DataType == GL_SIGNED_NORMALIZED ||
info->DataType == GL_UNSIGNED_INT ||
info->DataType == GL_INT ||
- info->DataType == GL_FLOAT);
+ info->DataType == GL_FLOAT ||
+ /* Z32_FLOAT_X24S8 has DataType of GL_NONE */
+ info->DataType == GL_NONE);
if (info->BaseFormat == GL_RGB) {
assert(info->RedBits > 0);