diff options
author | Robert Bragg <robert@linux.intel.com> | 2010-05-28 00:51:40 +0100 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2010-06-01 12:20:59 +0100 |
commit | 653d1a32542f5be81f136cb51ad1de2d39f88739 (patch) | |
tree | 6bc649a27f87003ac751797577006c15bed4d800 /cogl/cogl-bitmap-private.h | |
parent | 817c1cddccf1286e3773ab74a43892484b2bd75f (diff) | |
download | cogl-653d1a32542f5be81f136cb51ad1de2d39f88739.tar.gz |
bitmap: Remove use of CoglHandle in the CoglBitmap API
This replaces the use of CoglHandle with strongly type CoglBitmap *
pointers instead. The only function not converted for now is
cogl_is_bitmap which will be done in a later commit.
Diffstat (limited to 'cogl/cogl-bitmap-private.h')
-rw-r--r-- | cogl/cogl-bitmap-private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cogl/cogl-bitmap-private.h b/cogl/cogl-bitmap-private.h index 57a16dcd..cc7cc83d 100644 --- a/cogl/cogl-bitmap-private.h +++ b/cogl/cogl-bitmap-private.h @@ -30,7 +30,7 @@ #include "cogl-handle.h" -typedef struct _CoglBitmap +struct _CoglBitmap { CoglHandleObject _parent; guint8 *data; @@ -38,7 +38,7 @@ typedef struct _CoglBitmap int width; int height; int rowstride; -} CoglBitmap; +}; gboolean _cogl_bitmap_can_convert (CoglPixelFormat src, CoglPixelFormat dst); |