From b98c905a463a1915fd15861ad2d0af180ad605ac Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 28 Feb 2018 16:08:54 +0000 Subject: gbm: give a name to rgba fields Signed-off-by: Eric Engestrom Reviewed-by: Daniel Stone --- src/gbm/backends/dri/gbm_driint.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/gbm/backends') diff --git a/src/gbm/backends/dri/gbm_driint.h b/src/gbm/backends/dri/gbm_driint.h index 84a98533c79..8497be3e8f6 100644 --- a/src/gbm/backends/dri/gbm_driint.h +++ b/src/gbm/backends/dri/gbm_driint.h @@ -43,7 +43,12 @@ struct gbm_dri_bo; struct gbm_dri_visual { uint32_t gbm_format; int dri_image_format; - uint32_t rgba_masks[4]; + struct { + uint32_t red; + uint32_t green; + uint32_t blue; + uint32_t alpha; + } rgba_masks; }; struct gbm_dri_device { -- cgit v1.2.3