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:
parent
a12e707324
commit
5f22fddc26
1 changed files with 4 additions and 6 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue