1
0
Fork 0

cogl: Make Color fields public

To simplify the porting to CoglColor in the future as ClutterColor
fields are public

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3544>
This commit is contained in:
Bilal Elmoussaoui 2024-01-24 11:52:42 +01:00
parent a12e707324
commit 5f22fddc26

View file

@ -107,14 +107,12 @@ typedef enum
struct _CoglColor
{
/*< private >*/
uint8_t COGL_PRIVATE (red);
uint8_t COGL_PRIVATE (green);
uint8_t COGL_PRIVATE (blue);
uint8_t red;
uint8_t green;
uint8_t blue;
uint8_t COGL_PRIVATE (alpha);
uint8_t alpha;
};
COGL_STRUCT_SIZE_ASSERT (CoglColor, 4);
/**
* CoglTextureVertex: