summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/util/u_format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_format.h b/src/gallium/auxiliary/util/u_format.h
index eb8c2f6ae3f..92e54b8f564 100644
--- a/src/gallium/auxiliary/util/u_format.h
+++ b/src/gallium/auxiliary/util/u_format.h
@@ -570,7 +570,7 @@ util_format_is_depth_and_stencil(enum pipe_format format)
/**
* For depth-stencil formats, return the equivalent depth-only format.
*/
-static inline boolean
+static inline enum pipe_format
util_format_get_depth_only(enum pipe_format format)
{
switch (format) {