From: Brian Paul Date: Tue, 8 Mar 2016 01:57:33 +0000 (-0700) Subject: mesa: fix malformed assertion in _image_format_class_to_glenum() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6857420e79ed6ddce187a932033cef87dfa3a36b;p=mesa.git mesa: fix malformed assertion in _image_format_class_to_glenum() Reviewed-by: Vinson Lee --- diff --git a/src/mesa/main/shaderimage.c b/src/mesa/main/shaderimage.c index fa967a2408a..fd5934f939f 100644 --- a/src/mesa/main/shaderimage.c +++ b/src/mesa/main/shaderimage.c @@ -360,7 +360,7 @@ _image_format_class_to_glenum(enum image_format_class class) case IMAGE_FORMAT_CLASS_2_10_10_10: return GL_IMAGE_CLASS_10_10_10_2; default: - assert("Invalid image_format_class"); + assert(!"Invalid image_format_class"); return GL_NONE; } }