diff options
author | Eric Anholt <[email protected]> | 2019-09-06 14:09:37 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-11-07 19:43:41 +0000 |
commit | d27dda907aca8d7b92b7330c498958e01eb962ae (patch) | |
tree | 50ad3fd44eac9aaa455a6ee5043ed2b7df76c606 /src/glx/dri_common.c | |
parent | 6b1c250245e4e29ea42e853ee094a8d6e9d1b665 (diff) |
mesa: Prepare for the MESA_FORMAT_* enum to be sparse.
To redefine MESA_FORMAT in terms of PIPE_FORMAT enums, we need to fix
places where we iterated up to MESA_FORMAT_COUNT. I use
_mesa_get_format_name(f) == NULL as the signal that it's not an enum
value with a MESA_FORMAT.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/glx/dri_common.c')
0 files changed, 0 insertions, 0 deletions