v2: standard 'bool' can be used
( Eric Engestrom <eric.engestrom@intel.com> )
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Signed-off-by: Andrii Simiklit <andrii.simiklit@globallogic.com>
/**
* Return true if the given format is a color format.
*/
-GLenum
+bool
_mesa_is_format_color_format(mesa_format format)
{
const struct gl_format_info *info = _mesa_get_format_info(format);
bool
_mesa_is_format_astc_2d(mesa_format format);
-GLenum
+bool
_mesa_is_format_color_format(mesa_format format);
extern GLenum