summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/shaderimage.c2
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;
}
}