mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 04:30:10 +01:00
mesa: fix malformed assertion in _image_format_class_to_glenum()
Reviewed-by: Vinson Lee <vlee@freedesktop.org>
This commit is contained in:
parent
3ed8729f7b
commit
6857420e79
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue