2008-02-12 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-texture.c: (texture_get_tile_pixbuf): ifdef out 'leaked' GL only API call.
This commit is contained in:
parent
14de7190d2
commit
9c625d187d
@ -1,3 +1,8 @@
|
|||||||
|
2008-02-12 Matthew Allum <mallum@openedhand.com>
|
||||||
|
|
||||||
|
* clutter/clutter-texture.c: (texture_get_tile_pixbuf):
|
||||||
|
ifdef out 'leaked' GL only API call.
|
||||||
|
|
||||||
2008-02-12 Tomas Frydrych <tf@openedhand.com>
|
2008-02-12 Tomas Frydrych <tf@openedhand.com>
|
||||||
|
|
||||||
* clutter/clutter-texture.c (texture_update_data):
|
* clutter/clutter-texture.c (texture_update_data):
|
||||||
|
@ -1194,6 +1194,7 @@ texture_get_tile_pixbuf (ClutterTexture *texture,
|
|||||||
COGLuint texture_id,
|
COGLuint texture_id,
|
||||||
gint bpp)
|
gint bpp)
|
||||||
{
|
{
|
||||||
|
#ifndef HAVE_COGL_GL
|
||||||
ClutterTexturePrivate *priv;
|
ClutterTexturePrivate *priv;
|
||||||
guchar *pixels = NULL;
|
guchar *pixels = NULL;
|
||||||
guint tex_width, tex_height;
|
guint tex_width, tex_height;
|
||||||
@ -1236,6 +1237,9 @@ texture_get_tile_pixbuf (ClutterTexture *texture,
|
|||||||
((tex_width * bpp + 3) &~ 3),
|
((tex_width * bpp + 3) &~ 3),
|
||||||
pixbuf_destroy_notify,
|
pixbuf_destroy_notify,
|
||||||
NULL);
|
NULL);
|
||||||
|
#else
|
||||||
|
return NULL;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user