image/texture-cache: adjust pointer types for changes in Cogl API
This commit is contained in:
parent
a89f44d35e
commit
fa25ce86ad
|
@ -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;
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ typedef struct MxTextureCacheItem {
|
|||
char filename[256];
|
||||
int width, height;
|
||||
int posX, posY;
|
||||
CoglHandle *ptr;
|
||||
CoglHandle ptr;
|
||||
GHashTable *meta;
|
||||
} MxTextureCacheItem;
|
||||
|
||||
|
|
Loading…
Reference in New Issue