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
2 changed files with 9 additions and 0 deletions
|
@ -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>
|
||||
|
||||
* clutter/clutter-texture.c (texture_update_data):
|
||||
|
|
|
@ -1194,6 +1194,7 @@ texture_get_tile_pixbuf (ClutterTexture *texture,
|
|||
COGLuint texture_id,
|
||||
gint bpp)
|
||||
{
|
||||
#ifndef HAVE_COGL_GL
|
||||
ClutterTexturePrivate *priv;
|
||||
guchar *pixels = NULL;
|
||||
guint tex_width, tex_height;
|
||||
|
@ -1236,6 +1237,9 @@ texture_get_tile_pixbuf (ClutterTexture *texture,
|
|||
((tex_width * bpp + 3) &~ 3),
|
||||
pixbuf_destroy_notify,
|
||||
NULL);
|
||||
#else
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue