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

@ -43,6 +43,8 @@ G_BEGIN_DECLS
* FIXME
*/
#define COGL_INDEX_BUFFER(buffer) ((CoglIndexBuffer*) buffer)
typedef struct _CoglIndexBuffer CoglIndexBuffer;
/**