aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;