icd: Fix incorrect return type
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Wed, 15 Oct 2014 00:14:31 +0000 (18:14 -0600)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Wed, 15 Oct 2014 00:14:31 +0000 (18:14 -0600)
icd/common/icd-format.h

index 5bb5dc9..614b8a3 100644 (file)
@@ -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;