mesa: use a correct function return type
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>
This commit is contained in:
parent
9bef1f1ff1
commit
62c6059584
|
@ -575,7 +575,7 @@ _mesa_is_format_integer(mesa_format format)
|
|||
/**
|
||||
* 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);
|
||||
|
|
|
@ -732,7 +732,7 @@ _mesa_is_format_etc2(mesa_format format);
|
|||
bool
|
||||
_mesa_is_format_astc_2d(mesa_format format);
|
||||
|
||||
GLenum
|
||||
bool
|
||||
_mesa_is_format_color_format(mesa_format format);
|
||||
|
||||
extern GLenum
|
||||
|
|
Loading…
Reference in New Issue