mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05: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
70d7d16f13
commit
840941fdfe
@ -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