From 840941fdfe62dc9d086e64ae98c304f87224b9c3 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Tue, 27 Jan 2009 11:01:23 +0000 Subject: [PATCH] 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. --- clutter/cogl/cogl-types.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/clutter/cogl/cogl-types.h b/clutter/cogl/cogl-types.h index 74b912318..b9454b33c 100644 --- a/clutter/cogl/cogl-types.h +++ b/clutter/cogl/cogl-types.h @@ -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; }; /**