summaryrefslogtreecommitdiff
path: root/cogl/cogl-color-private.h
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2012-08-06 21:16:08 +0100
committerRobert Bragg <robert@linux.intel.com>2012-08-30 12:30:20 +0100
commit17b52690b8e37941fafbba67e1983714a8b4ecd5 (patch)
tree17b8ddef1177ee6c72999e30646f90bfe8ff4454 /cogl/cogl-color-private.h
parent66b3d23c201b2e7dd74602e6e6e6c2d8ead47bcd (diff)
downloadcogl-17b52690b8e37941fafbba67e1983714a8b4ecd5.tar.gz
color: Store components as floats and make public
Instead of storing the CoglColor components as bytes we now store them as single precision floats and also make the members public. The intention is to evolve the cogl_color_ api into a more useful utility api for color space manipulations. Reviewed-by: Neil Roberts <neil@linux.intel.com>
Diffstat (limited to 'cogl/cogl-color-private.h')
-rw-r--r--cogl/cogl-color-private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cogl/cogl-color-private.h b/cogl/cogl-color-private.h
index 591ff73c..e0f0a57c 100644
--- a/cogl/cogl-color-private.h
+++ b/cogl/cogl-color-private.h
@@ -38,8 +38,8 @@
#define _COGL_COLOR_DATA_SIZE 4
void
-_cogl_color_get_rgba_4ubv (const CoglColor *color,
- uint8_t *dest);
+_cogl_color_get_rgba_4fv (const CoglColor *color,
+ float *dest);
#endif /* __COGL_COLOR_PRIVATE_PRIVATE_H */