image/texture-cache: adjust pointer types for changes in Cogl API

This commit is contained in:
Thomas Wood 2011-09-27 14:34:36 +01:00
parent a89f44d35e
commit fa25ce86ad
2 changed files with 7 additions and 7 deletions

View File

@ -198,7 +198,7 @@ mx_image_async_data_new (MxImage *parent)
}
static void
get_center_coords (CoglObject *tex,
get_center_coords (CoglHandle tex,
float rotation,
float aw,
float ah,
@ -216,11 +216,11 @@ get_center_coords (CoglObject *tex,
}
static gfloat
calculate_scale (CoglObject *texture,
float rotation,
float aw,
float ah,
MxImageScaleMode mode)
calculate_scale (CoglHandle texture,
float rotation,
float aw,
float ah,
MxImageScaleMode mode)
{
float bw, bh, tmp, factor;

View File

@ -75,7 +75,7 @@ typedef struct MxTextureCacheItem {
char filename[256];
int width, height;
int posX, posY;
CoglHandle *ptr;
CoglHandle ptr;
GHashTable *meta;
} MxTextureCacheItem;