aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2014-10-14 18:14:31 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2014-10-14 18:14:31 -0600
commitaa1a3bb7831124e19a6bc151268e1d80dc0c57f8 (patch)
tree33b12ea4a3db9fda6c676a5c07f42f241c990a58
parent8982af505e42b927edb4b6ffb9e2142b36d2afde (diff)
downloadusermoji-aa1a3bb7831124e19a6bc151268e1d80dc0c57f8.tar.xz
icd: Fix incorrect return type
-rw-r--r--icd/common/icd-format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/icd/common/icd-format.h b/icd/common/icd-format.h
index 5bb5dc94..614b8a32 100644
--- a/icd/common/icd-format.h
+++ b/icd/common/icd-format.h
@@ -85,7 +85,7 @@ static inline bool icd_format_is_compressed(XGL_FORMAT format)
}
}
-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;