buffer: make the COGL_BUFFER casting macro public
The CoglBuffer api is available as experimental 2.0 api but we forgot to exposed the COGL_BUFFER casting macro. Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
parent
dd6935f129
commit
f3a4d21187
@ -36,8 +36,6 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define COGL_BUFFER(buffer) ((CoglBuffer *)(buffer))
|
|
||||||
|
|
||||||
typedef struct _CoglBufferVtable CoglBufferVtable;
|
typedef struct _CoglBufferVtable CoglBufferVtable;
|
||||||
|
|
||||||
struct _CoglBufferVtable
|
struct _CoglBufferVtable
|
||||||
|
@ -74,6 +74,8 @@ G_BEGIN_DECLS
|
|||||||
#define cogl_buffer_unmap cogl_buffer_unmap_EXP
|
#define cogl_buffer_unmap cogl_buffer_unmap_EXP
|
||||||
#define cogl_buffer_set_data cogl_buffer_set_data_EXP
|
#define cogl_buffer_set_data cogl_buffer_set_data_EXP
|
||||||
|
|
||||||
|
#define COGL_BUFFER(buffer) ((CoglBuffer *)(buffer))
|
||||||
|
|
||||||
typedef struct _CoglBuffer CoglBuffer;
|
typedef struct _CoglBuffer CoglBuffer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user