mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
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:
@ -48,6 +48,8 @@ G_BEGIN_DECLS
|
||||
* FIXME
|
||||
*/
|
||||
|
||||
#define COGL_ATTRIBUTE_BUFFER(buffer) ((CoglAttributeBuffer *)(buffer))
|
||||
|
||||
/**
|
||||
* cogl_attribute_buffer_new:
|
||||
* @context: A #CoglContext
|
||||
|
Reference in New Issue
Block a user