projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ed8729
)
mesa: fix malformed assertion in _image_format_class_to_glenum()
author
Brian Paul
<brianp@vmware.com>
Tue, 8 Mar 2016 01:57:33 +0000
(18:57 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 8 Mar 2016 15:42:56 +0000
(08:42 -0700)
Reviewed-by: Vinson Lee <vlee@freedesktop.org>
src/mesa/main/shaderimage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/shaderimage.c
b/src/mesa/main/shaderimage.c
index fa967a2408ab9554b72f51c3df4feb8b591fe9e6..fd5934f939f52e58a3b462f1836ae6e2ea56c1c5 100644
(file)
--- 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;
}
}