commit | 74deb372c13b9dff799c9826ab369a24f1de79e2 | [log] [tgz] |
---|---|---|
author | Courtney Goeltzenleuchter <courtney@LunarG.com> | Tue Oct 14 18:14:31 2014 -0600 |
committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | Tue Oct 14 18:14:31 2014 -0600 |
tree | 0dfaca2d9daafafb84d1a62d69c34518b38c21b5 | |
parent | 4d09f45eca56a8e64a15dc9169244c5bf02d5335 [diff] [blame] |
icd: Fix incorrect return type
diff --git a/icd/common/icd-format.h b/icd/common/icd-format.h index 5bb5dc9..614b8a3 100644 --- a/icd/common/icd-format.h +++ b/icd/common/icd-format.h
@@ -85,7 +85,7 @@ } } -static inline bool icd_format_get_block_width(XGL_FORMAT format) +static inline int icd_format_get_block_width(XGL_FORMAT format) { /* all compressed formats use 4x4 blocks */ return (icd_format_is_compressed(format)) ? 4 : 1;