diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/blender/color.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/blender/color.h b/include/blender/color.h index cdf488a..22ed563 100644 --- a/include/blender/color.h +++ b/include/blender/color.h | |||
@@ -20,7 +20,10 @@ typedef uint8_t ColorComponent; | |||
20 | * Compatible with the libMLV representation. | 20 | * Compatible with the libMLV representation. |
21 | */ | 21 | */ |
22 | typedef union { | 22 | typedef union { |
23 | ColorComponent r, g, b, a; | 23 | struct { |
24 | ColorComponent r, g, b, a; | ||
25 | } rgba; | ||
26 | |||
24 | MLV_Color mlv; | 27 | MLV_Color mlv; |
25 | } Color; | 28 | } Color; |
26 | 29 | ||