From a7e2d649710efaf6b542e8a96453baba5c58321f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 10 Dec 2010 11:34:41 -0800 Subject: [PATCH] mesa: Don't assertion fail for _mesa_get_format_name(MESA_FORMAT_NONE) --- src/mesa/main/formats.c | 1 - 1 file changed, 1 deletion(-) 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; } -- 2.30.2