diff options
author | Brian Paul <[email protected]> | 2016-03-07 18:57:33 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-03-08 08:42:56 -0700 |
commit | 6857420e79ed6ddce187a932033cef87dfa3a36b (patch) | |
tree | 33e34eeff6655244c1d810b341d2ada20095f48f /src/mesa/main/shaderimage.c | |
parent | 3ed8729f7b7ce0fcdb61191962293350a31fcecd (diff) |
mesa: fix malformed assertion in _image_format_class_to_glenum()
Reviewed-by: Vinson Lee <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderimage.c')
-rw-r--r-- | src/mesa/main/shaderimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |