diff options
author | Chad Versace <[email protected]> | 2017-11-03 16:42:16 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2017-11-09 16:01:59 -0800 |
commit | 7bb4387105491e9efd4c412002fb4a6e72a4ceda (patch) | |
tree | 651702154c43ce921e01fa1f0b26124eb9936d35 /src/glx/indirect_window_pos.c | |
parent | 3ee7f4bc2f56f7c9c23de52fbe77125deef6be86 (diff) |
anv: Refactor anv_get_format_plane() - explicit unsupported
The same local variable, 'plane_format', was returned on success *and*
failure. Be more explicit in distinguishing the two cases: return
'plane_format' on success and return 'unsupported' on failure.
This simplifies the diff in upcoming patches for
VK_EXT_image_drm_format_modifier.
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/glx/indirect_window_pos.c')
0 files changed, 0 insertions, 0 deletions