mirror of
https://github.com/brl/mutter.git
synced 2025-07-12 13:37:16 +00:00
Adds padding to CoglColor to future proof it a bit
This adds enough padding to allow us to change to an internal float storage for the color components if needs be in the future.
This commit is contained in:
@ -248,6 +248,12 @@ struct _CoglColor
|
|||||||
guint8 blue;
|
guint8 blue;
|
||||||
|
|
||||||
guint8 alpha;
|
guint8 alpha;
|
||||||
|
|
||||||
|
/* padding in case we want to change to floats at
|
||||||
|
* some point */
|
||||||
|
guint32 padding0;
|
||||||
|
guint32 padding1;
|
||||||
|
guint32 padding2;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user