Skip to content
Snippets Groups Projects
Commit c6d40b51 authored by Kenneth Graunke's avatar Kenneth Graunke
Browse files

gallium: Fix util_format_get_depth_only


This is a pipe format, not a boolean.

Fixes: 5849e061 ("gallium/auxiliary: Add util_format_get_depth_only() helper.")
Reviewed-by: default avatarTapani Pälli <tapani.palli@intel.com>
parent 6c19d373
No related branches found
No related tags found
No related merge requests found
......@@ -573,7 +573,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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment