summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/formats.c2
-rw-r--r--src/mesa/main/formats.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c
index 8d6c76a3419..43f561843ac 100644
--- a/src/mesa/main/formats.c
+++ b/src/mesa/main/formats.c
@@ -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);
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h
index 08039067a6c..d976a48521d 100644
--- a/src/mesa/main/formats.h
+++ b/src/mesa/main/formats.h
@@ -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