projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef3f7e6
)
mesa: Don't assertion fail for _mesa_get_format_name(MESA_FORMAT_NONE)
author
Eric Anholt
<eric@anholt.net>
Fri, 10 Dec 2010 19:34:41 +0000
(11:34 -0800)
committer
Eric Anholt
<eric@anholt.net>
Fri, 10 Dec 2010 23:29:52 +0000
(15:29 -0800)
src/mesa/main/formats.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/formats.c
b/src/mesa/main/formats.c
index
cd9eb81
..
42f70ca
100644
(file)
--- a/
src/mesa/main/formats.c
+++ b/
src/mesa/main/formats.c
@@
-863,7
+863,6
@@
const char *
_mesa_get_format_name(gl_format format)
{
const struct gl_format_info *info = _mesa_get_format_info(format);
- ASSERT(info->BytesPerBlock);
return info->StrName;
}