diff options
author | Eric Engestrom <[email protected]> | 2018-02-28 16:08:54 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-03-05 15:14:36 +0000 |
commit | b98c905a463a1915fd15861ad2d0af180ad605ac (patch) | |
tree | b6dff29bc1f34c8bb0ee577c30542e66824b6df1 /src/gbm/backends/dri/gbm_driint.h | |
parent | 40abffb295de49818e6f544fe8a5392e1726b3c8 (diff) |
gbm: give a name to rgba fields
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Daniel Stone <[email protected]>
Diffstat (limited to 'src/gbm/backends/dri/gbm_driint.h')
-rw-r--r-- | src/gbm/backends/dri/gbm_driint.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 { |