summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-12-10 11:34:41 -0800
committerEric Anholt <[email protected]>2010-12-10 15:29:52 -0800
commita7e2d649710efaf6b542e8a96453baba5c58321f (patch)
treeb73087362b65764738b35b6b9d46e96e7b27ed5e /src/mesa
parentef3f7e61b314236cbb7ed2cf24d34c6f90d9cfca (diff)
mesa: Don't assertion fail for _mesa_get_format_name(MESA_FORMAT_NONE)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/formats.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c
index cd9eb81852f..42f70ca232b 100644
--- 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;
}