From aa1a3bb7831124e19a6bc151268e1d80dc0c57f8 Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Tue, 14 Oct 2014 18:14:31 -0600 Subject: icd: Fix incorrect return type --- icd/common/icd-format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3