From 6857420e79ed6ddce187a932033cef87dfa3a36b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 7 Mar 2016 18:57:33 -0700 Subject: mesa: fix malformed assertion in _image_format_class_to_glenum() Reviewed-by: Vinson Lee --- src/mesa/main/shaderimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/shaderimage.c') 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; } } -- cgit v1.2.3