diff options
author | Eric Engestrom <[email protected]> | 2018-11-27 12:27:45 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-07-01 18:35:54 +0100 |
commit | fbf7c38da35afe7f1de05c3896695a7a302ff925 (patch) | |
tree | 5ccff0925393c1171697dd41abcab1ae8b11f827 /src/mesa/swrast/s_aaline.c | |
parent | d5f63990b4bdf0458b48da34dddb7656b8393ec7 (diff) |
egl/wayland: use bitset.h for `formats` bit set
Currently only 7 formats are supported, but we don't want the 16 limit
(it's an `unsigned`) to hit us by surprise :]
Let's use bitset.h's BITSET magic to allow us to have any number of
formats, with a static assert to make sure we don't forget to update it.
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_aaline.c')
0 files changed, 0 insertions, 0 deletions