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:
Robert Bragg 2009-01-27 11:01:23 +00:00
parent a2e52eb3be
commit d428c2a2cc

View File

@ -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;
};
/**