projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12265d2
)
mesa: fix assertion failure in _mesa_test_formats
author
Marek Olšák
<maraeo@gmail.com>
Mon, 11 Jul 2011 11:53:42 +0000
(13:53 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Mon, 11 Jul 2011 12:32:32 +0000
(14:32 +0200)
Z32_FLOAT_X24S8 has DataType of GL_NONE.
src/mesa/main/formats.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/formats.c
b/src/mesa/main/formats.c
index f58b1975672371fca606a70033f1c4c119c3c1c8..e01ea11df975c535535150ae1f48ee8aec642adb 100644
(file)
--- a/
src/mesa/main/formats.c
+++ b/
src/mesa/main/formats.c
@@
-1485,7
+1485,8
@@
_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 ||
+ info->DataType == GL_NONE);
if (info->BaseFormat == GL_RGB) {
assert(info->RedBits > 0);