cogl-color: add private _cogl_color_get_rgba_4ubv API
authorRobert Bragg <robert@linux.intel.com>
Thu, 10 Jun 2010 13:07:40 +0000 (14:07 +0100)
committerRobert Bragg <robert@linux.intel.com>
Tue, 15 Jun 2010 14:26:27 +0000 (15:26 +0100)
commit500baa415789ea0b6277070c67ece54d0e6418ff
tree109458ad75cd994c7fd1fa035ac104fbded42c30
parent272cf6d943688453d19c5b695077903a5002fd17
cogl-color: add private _cogl_color_get_rgba_4ubv API

The journal logs colors as 4bytes into a vertex array and since we are
planning to make CoglMaterial track its color using a CoglColor instead
of a byte array this convenience will be useful for re-implementing
_cogl_material_get_colorubv.
clutter/cogl/cogl/cogl-color-private.h [new file with mode: 0644]
clutter/cogl/cogl/cogl-color.c