Mesa (master): mesa: add a comment in _mesa_test_formats
Marek Olšák
mareko at kemper.freedesktop.org
Mon Jul 11 13:20:26 UTC 2011
Module: Mesa
Branch: master
Commit: ceb04b32baf13bbd62cf80496e5751612287ef15
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ceb04b32baf13bbd62cf80496e5751612287ef15
Author: Marek Olšák <maraeo at gmail.com>
Date: Mon Jul 11 15:18:14 2011 +0200
mesa: add a comment in _mesa_test_formats
---
src/mesa/main/formats.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c
index e01ea11..f9298d2 100644
--- a/src/mesa/main/formats.c
+++ b/src/mesa/main/formats.c
@@ -1486,6 +1486,7 @@ _mesa_test_formats(void)
info->DataType == GL_UNSIGNED_INT ||
info->DataType == GL_INT ||
info->DataType == GL_FLOAT ||
+ /* Z32_FLOAT_X24S8 has DataType of GL_NONE */
info->DataType == GL_NONE);
if (info->BaseFormat == GL_RGB) {
More information about the mesa-commit
mailing list