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:
@ -44,6 +44,8 @@ G_BEGIN_DECLS
|
||||
* any of the symbols dissapear at a later date.
|
||||
*/
|
||||
|
||||
#define COGL_PIXEL_BUFFER(buffer) ((CoglPixelBuffer *)(buffer))
|
||||
|
||||
#define cogl_pixel_buffer_new cogl_pixel_buffer_new_EXP
|
||||
#define cogl_pixel_buffer_new_with_size cogl_pixel_buffer_new_with_size_EXP
|
||||
#define cogl_is_pixel_buffer cogl_is_pixel_buffer_EXP
|
||||
|
Reference in New Issue
Block a user