From 5f22fddc26424850df3b5beed4451acfb4020e5b Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Wed, 24 Jan 2024 11:52:42 +0100 Subject: [PATCH] cogl: Make Color fields public To simplify the porting to CoglColor in the future as ClutterColor fields are public Part-of: --- cogl/cogl/cogl-types.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/cogl/cogl/cogl-types.h b/cogl/cogl/cogl-types.h index 589dab5d5..c413ff8f4 100644 --- a/cogl/cogl/cogl-types.h +++ b/cogl/cogl/cogl-types.h @@ -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: