mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +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:
parent
a2e52eb3be
commit
d428c2a2cc
@ -248,6 +248,12 @@ struct _CoglColor
|
||||
guint8 blue;
|
||||
|
||||
guint8 alpha;
|
||||
|
||||
/* padding in case we want to change to floats at
|
||||
* some point */
|
||||
guint32 padding0;
|
||||
guint32 padding1;
|
||||
guint32 padding2;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user