diff options
author | Eric Anholt <[email protected]> | 2010-12-10 11:34:41 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-12-10 15:29:52 -0800 |
commit | a7e2d649710efaf6b542e8a96453baba5c58321f (patch) | |
tree | b73087362b65764738b35b6b9d46e96e7b27ed5e /src | |
parent | ef3f7e61b314236cbb7ed2cf24d34c6f90d9cfca (diff) |
mesa: Don't assertion fail for _mesa_get_format_name(MESA_FORMAT_NONE)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/formats.c | 1 |
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; } |