summaryrefslogtreecommitdiffstats
path: root/CleanSpec.mk
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-11-12 23:12:54 -0800
committerEric Anholt <[email protected]>2019-11-15 20:32:17 +0000
commit69f109cc37fff6300ea9e1914779620b7a117bf9 (patch)
tree9b5af62d1e1129ec58479c98a74623b64c2428db /CleanSpec.mk
parentea232c7cfd492fffb1dcf3ba07459c159e8bc112 (diff)
mesa: Handle GL_COLOR_INDEX in _mesa_format_from_format_and_type().
Just return MESA_FORMAT_NONE to avoid triggering unreachable; there's really no sensible thing to return for this case anyway. This prevents regressions in the next commit, which makes st/mesa start using this function to find a reasonable format from GL format and type enums. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'CleanSpec.mk')
0 files changed, 0 insertions, 0 deletions