mesa: fix malformed assertion in _image_format_class_to_glenum()

Reviewed-by: Vinson Lee <vlee@freedesktop.org>
This commit is contained in:
Brian Paul 2016-03-07 18:57:33 -07:00
parent 3ed8729f7b
commit 6857420e79

View file

@ -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;
}
}