Add the missing cast macros for some buffer objects

CoglPixelBuffer, CoglAttributeBuffer and CoglIndexBuffer were missing
public cast macros.

Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
Neil Roberts
2012-02-25 20:27:21 +00:00
parent 1397a2da19
commit 7114588884
4 changed files with 6 additions and 2 deletions

View File

@ -48,6 +48,8 @@ G_BEGIN_DECLS
* FIXME
*/
#define COGL_ATTRIBUTE_BUFFER(buffer) ((CoglAttributeBuffer *)(buffer))
/**
* cogl_attribute_buffer_new:
* @context: A #CoglContext